“I would like to express my condolences on the recent election results. Both victory and failure are inevitable parts of the journey in democracy, and we must take both with us,” LoP Rahul Gandhi wrote.

The Conservative Party suffered a collapse after 14 turbulent years in power in which five different prime ministers ran the country, losing 250 seats.

"Your (Rishi Sunak) dedication to public service and commitment to your people is commendable," the opposition leader said.

The result marks a stunning reversal from the 2019 election when Labor suffered its worst election defeat under veteran left-wing politician Jeremy Corbyn.

“I also deeply value the efforts you have made to strengthen relations between India and the UK during your tenure. I am confident that you will continue to contribute to public life with your experience.

He also wished Rishi Sunak all the best for his future endeavours.