A brace by forward Mohammed Salah was enough to ensure a spot for Egypt at the 2017 Africa Cup of Nations in Gabon.
The matched which was played at the National Stadium, Dar Es Salaam witnessed a less than capacity crowd with Egypt needing only a draw to make sure of their ticket to the AFCON 2017.
Both sides had chances in the opening half and in the 44th minute of the game, Mohammed Salah put his side in front from a free kick after Trezeguet was fouled.
The first half ended 1 – 0 in favour of the North Africans.
Tanzania got a lifeline in the 53rd minute when Gabonese referee Eric Arnaud Otogo Castane penalised Amr Warda for a reckless challenge on a Tanzanian player but Mbwana Samatta blasted the penalty over the bar to the relief of Hosam El-Hadary in the Egyptian goal.
And just five minutes after that, Mohammed Salah got his brace after outpacing his marker to break clear following a brilliant through pass from Abdallah El-Said before scoring.
Egypt held on for the victory which sealed their qualification for the Africa Cup of Nations 2017.
The North African side is making a return to the AFCON having failed to qualify for the last three editions of the competition.
In results of other qualifying matches played today, Guinea Bissau beat Zambia 3-2, Cape Verde defeated São Tomé and Principe by 2 – 1, Mali were 3 – 0 winners over South Sudan, Namibia defeated Niger by a lone goal while Rwanda lost to Mozambique by 3 – 2.