Ms Swaraj conveyed India's gratitude to the foreign governments during a reception for the diplomatic community which was also attended by Justice Bhandari.
"A historic moment for India. EAM @SushmaSwaraj addressed the diplomatic corps in New Delhi, she conveyed gratitude to the international diplomatic community for their support for election of Justice Dalveer Bhandari to ICJ," External Affairs Ministry Spokesperson Raveesh Kumar tweeted.
In her address, Swaraj particularly mentioned Britain for withdrawing its candidate during the contest which paved the way for Bhandari's re-election, sources said.
The External Affairs Ministry had invited all the foreign missions in New Delhi for the meeting and a large number of diplomats, including British High Commissioner Sir Dominic Asquith, attended it, they said.
Justice Bhandari was on Tuesday re-elected to the ICJ as the UN General Assembly overwhelmingly threw its weight behind him, forcing Britain to withdraw its candidate from the hard-fought race to the world court.
Justice Bhandari and the UK's Christopher Greenwood were locked in a neck-and-neck fight for re-election as the UN could not decide between them after electing four out of five judges to the International Court of Justice.
Bhandari, 70, received 183-193 votes in the General Assembly and secured all 15 votes in the Security Council to fill the final vacancy on the ICJ after separate but simultaneous elections were held at the UN headquarters in New York.
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.