Nyerere originally planned to halt his forces in southern Ugandan and allow the Ugandan rebels to attack Kampala and overthrow Amin, as he feared that scenes of Tanzanian troops occupying the city would reflect poorly on his country's image abroad. However, Ugandan rebel forces did not have the strength to defeat Libyan troops sent to Amin's aid, so Nyerere decided to use the TPDF to take Kampala. The city fell on 11 April. Combat operations in Uganda continued until 3June, when Tanzanian forces reached the Sudanese border and eliminated the last resistance. After a brief occupation, the TPDF withdrew from the country in 1981.