By Emmanuel Muga
BBC Sport, Dar es Salaam
Tanzanian police fired teargas canisters to disperse angry fans after the host nation lost 2-1 to Sudan to crash out of the Cecafa Challenge Cup.
Abdelhamid Amarria scored a brace to put Sudan through to the semis
Abdelhamid Amarria scored both goals for Sudan in the quarter final, while Nizar Khalfan missed a crucial penalty for Tanzania, to see Sudan's B-side go through.
Burundi will be waiting for Sudan in Wednesday's semi final, after they swept aside Eritrea 2-1.
Tanzania dominated the early exchanges before falling behind on 10 minutes, when Amarria put Sudan in the lead.
After conceding, the Tanzanians threw everything forward and their pressure paid off on 25 minutes, when Danny Mrwanda drew level with a strike from the edge of the six-yard box.
Sudan, who have come with a second-string team, were kept under pressure but managed to break on a counter-attack to restore their lead 10 minutes later through Amarria.
The Tanzanians started the second half strongly and managed to make numerous incursions into Sudanese territory but could not find the back of the net despite a host of clear-cut chances.
With six minutes to go, second-half substitute Vincent Barnabas made a solo run into the Sudanese danger zone and was brought down for a penalty.
But Khalfan stepped up and smashed his kick into the hands of the Sudanese goalkeeper Akram Salim to end Tanzanian hopes.
The Tanzanian team were jeered by the home fans, while the Sudanese were cheered.
The police had to escort the team out of the stadium and were forced to fire teargas to disperse fans who invaded the pitch.
Meanwhile, Burundi came from behind to beat Eritrea 2-1 in their quarter final.
Berhane Aregaye put Eritrea in the lead after four minutes but second half strikes by Allain Ndizeye and Calude Nahimana secured Burundi's passage to the semi final.