Taifa Stars needed to defeat the Cranes and hopes that Cape Verde beat or holds Lesotho to a draw in Praia. Their qualification was confirmed after the Blue Sharks held Likuena to a goalless draw, joining already-qualified Uganda at the Egypt showpiece from Group L.
This is how you support your national team.... Tanzania haven’t qualified for the AFCON in 39 years. They need to beat Uganda today and hope that Lesotho doesn’t win in Cape Verde . #AFCON2019Q pic.twitter.com/7m1ljVrkzZ— Velile Mnyandu (@Veli_Mbuli) March 24, 2019
Tanzania made a positive start to the encounter with their captain Mbwana Samatta linking up well up front with Simba FC's on-form man John Bosco.
Uganda goalkeeper Dennis Onyango conceded for the first time in the group matches when he was beaten by Simon Msuva's low shot from the right edge of the box to open the scoring in the 20th minute.
Emmanuel Amunike,former caf footballer of the year and @NGSuperEagles Player has qualify Tanzania for @AFCON2019 after 39years ,he became the 2nd Nigerian coach after late Stephen Keshi #Congratulations Taifa stars of Tanzania . pic.twitter.com/uJULlamGdj— Lijoka A. Olalekan (@lijokadayo) March 24, 2019
In the second half, Samatta - who was a livewire throughout the match - made a telling run into the box and was fouled for a penalty which was converted by Erasto Nyoni to make it 2-0 in the 56th minute.
Bosco summed up his evening with a fine effort to team up with Aggrey Moris who headed past Onyango for Tanzania's third in the 73rd minute.
The visitors should have drawn blood soon thereafter but Farouk Miya's cheeky back-heel failed to trouble Aishi Manula in the hosts' goals.
With the win and Lesotho's result, Emmanuel Amunike's men ended a 39-year absence from the continental spectacle.