PM Modi is now in South Africa for a 3-day BRICS summit.
Kampala: India will open 18 new embassies across Africa, Prime Minister Narendra Modi told Uganda's parliament on Wednesday during a tour of the continent.
Rounding off a two-day visit to Kampala, PM Modi also announced the donation of a badly-needed cancer therapy machine and loans worth $200 million (171 million euros) for infrastructure and environmental projects.
India is vying for influence in Africa with China which has aggressively developed trade, financial and diplomatic ties on the continent.
India currently has 29 full diplomatic missions in Africa compared to China which has 50.
It hopes to open its new missions within three years, according to an official who did not confirm which countries would receive envoys.
PM Modi also praised Ugandan President Yoweri Museveni for welcoming back the so-called Uganda Asians who were expelled by despot Idi Amin Dada, who was in turn ousted by Museveni.
"Your visionary leadership has enabled Ugandan people of Indian origin to return to their cherished home, regain their lives and help rebuild the nation that they deeply love," PM Modi told a crowded parliament chamber, becoming the first Indian prime minister to address the legislature.
Keen to be seen as a friend to Africa, India plays up a shared history that China lacks, citing 16th-century merchants who plied Africa's coastline and India's fight against colonialism.
Earlier this week, PM Modi visited Rwanda where he donated 200 cows to poor families and oversaw Indian loans to Kigali.
He flew to South Africa from Uganda for a summit of the BRICS.
The gathering in South Africa will bring together the leaders of Brazil, Russia, India, China and South Africa (BRICS) for talks overshadowed by the looming US-led global trade war.