Narendra Modi has been sworn in as India’s prime minister for a third term at the presidential palace in Delhi.

The Bharatiya Janata Party leader took his oath, saying he would “do right to all manner of people without affection or ill-will.”

Mr Modi’s BJP-led National Democratic Alliance won the general election with 293 seats, a much lower margin than predicted by exit polls.

The election saw a resurgence of India’s opposition, which won 234 seats.

Speaking as he was sworn in by President Draupadi Murmu, Mr Modi said he would uphold India's sovereignty and integrity and govern with “true faith and allegiance to the constitution.”

“I will do right to all manner of people in accordance with the constitution and the law without fear or favour,” he said.

A council of ministers of Mr Modi’s new cabinet was also sworn in during the ceremony.

Mr Modi is only the second Indian leader to win a third consecutive term after the country’s first prime minister, Jawaharlal Nehru.