By Mark Gleeson
BBC Sport, Maputo
Malawi conceded an own goal in the game
Mozambique have reached the semi-finals of the Cosafa Castle Cup for the first time after beating Malawi 2-0 in Maputo on Sunday.
Goals by Paito and To secured their passage to the last four of the competition.
But while a crowd of 30,000 set off in fervent celebrations, Mozambique will acknowledge that victory was helped by the early dismissal of Malawian defender Maupo Msowoya.
His expulsion in the 20th minute left Malawi playing with just ten men for the better part of the encounter at the Machava stadium.
Msowoya stood on the head of Mozambican winger Gabito in a vindictive and needless challenge.
Using their one-man advantage, Mozambique overwhelmed their opponents using quick counter-attacks and fast wing play.
It was a strong run down the flanks by Paito, who plays for Portugal's Sporting Lisbon, that led to the opening goal.
His strike hit the chest of Malawi captain Patrick Mabedi and subsequently trickled over the line after it hit the upright.
It was the second time Mabedi had conceded an own goal in the annual Southern African championship.
Man-of-the-match Goncalves Fumo, the other Portugal-based player in the Mozambican line-up, set up the second goal for the hosts with a strong run down the centre of the pitch.
He then slipped the ball to To, who hit a shot from a difficult position on the right-hand side.
Ten-man Malawi's best chances came late in the game, with long range shots from Russell Mwafulirwa and Peter Mponda but their attempts did little to test goalkeeper Kapango.
Mozambique will have to wait until the end of July to find out the identity of their next opponent.
Swaziland hosts defending champions Zimbabwe in the tournament's next match at Mbabane's Somhlolo stadium in two weeks time.