Election Result 2019: PM Modi led the BJP to a landslide victory in the 2019 general elections (File)

Congratulating Prime Minister Narendra Modi on his re-election, the United States has said that the just-concluded elections in India, the largest democratic exercise in human history, is an inspiration for people around the world.

Prime Minister Narendra Modi on Thursday led his Bharatiya Janata Party to a super-sized victory for a second term in office, winning an absolute majority and on course to touch the 300-seat mark in the 543-member Lok Sabha.

"Congrats to an American ally and friend Prime Minister Narendra Modi on his party's win in India's parliamentary election," Vice President Mike Pence tweeted.

"This was a strong display of the Indian people's commitment to democracy! We look forward to continuing to work with India for a freer, safer, and more prosperous region," he said.

Congrats to an American ally & friend PM @narendramodi, on his party's win in India's parliamentary election. This was a strong display of the Indian people's commitment to democracy! We look forward to continuing to work with India for a freer, safer, & more prosperous region. - Vice President Mike Pence (@VP) May 23, 2019

Secretary of State Mike Pompeo also took to Twitter to congratulate the prime minister.

"Congratulations to @narendramodi and the NDA for their victory in India's election, and to the Indian people for casting their votes in such historic numbers. As the world's largest exercise in democracy, #India's election is an inspiration around the world," he said.

Congratulations to @narendramodi and the NDA for their victory in India's election, and to the Indian people for casting their votes in such historic numbers. As the world's largest exercise in democracy, #India's election is an inspiration around the world. pic.twitter.com/S7qAuX8lcq - Secretary Pompeo (@SecPompeo) May 23, 2019

During an off-camera discussion with reporters, US State Department spokesperson Morgan Ortagus said India's elections are the world's largest exercise in democracy, a marvel of logistics and planning with 900 million people - an eighth of the world's population - eligible to vote.

"We applaud the high turnout, estimated at around 66 per cent or roughly 600 million people, and the government of India for their excellent execution of this incredible event," Ms Ortagus said.

India, she said, is a crucial partner for the US in many areas, especially counter-terrorism. "We are certainly underscoring today a historic democratic movement of at least 600 million people voting. I think it is pretty amazing," Ms Ortagus added.

Indian-American Congressman Raja Krishnamoorthi said it was truly an inspiration to see so many Indians exercise their democratic rights. "I look forward to working with PM Modi and the Indian government to strengthen the US-India partnership," he said.

One lesson from Prime Minister Modi's win is that dynastic, establishment candidates are weak, another Indian-American Congressman Ro Khanna said.

"Democrats need to make sure that our candidate against Donald Trump can connect with people's frustration and offer a positive vision for change," Mr Khanna said.

Several top American lawmakers too congratulated PM Modi and vowed to strengthen the relationship between the two countries.

"I look forward to strengthening the important US-India partnership," House Majority Leader Steny Hoyer tweeted.

"I look forward to working together to strengthen and expand the strong relationship between our two nations," Congressman George Holding, Co-Chair of the House India Caucus, said.

Senator Kevin Thomas congratulated PM Modi and said, "India and the US share a great relationship and looking forward to continuing cooperation going forward."

"Congratulations @narendramodi on your historic victory. Looking forward to seeing you soon," Senator John Cornyn tweeted. Congressman Pete Olson said he looks forward to continuing to work with him on issues critical to Houston, the US and India.

"The world's largest democracy and one of our strongest partners in the Indo-Pacific has chosen their leadership in free and fair elections," Congressman Ted Yoho said as he congratulated the BJP and Prime Minister Modi on the historic re-election.

Houston Mayor Sylvester Turner, in a congratulatory message, invited PM Modi to his city in Texas. "I would like to assure you of my commitment to continue strengthening relations between Houston and India, creating more business and trade opportunities, and improving the quality of life for all that call Houston home," Mr Turner said.

Texas Governor Greg Abbott, in a handwritten message to Indian Ambassador to the US Harsh Vardhan Shringla, said that he viewed PM Modi's election as very important to the future of India.

"Texas looks forward to continuing working with you as we advance the economics of India and Texas," Mr Abbott said.

