Media playback is unsupported on your device Media caption Modi to Trump: "My honour to introduce you to my family"

US President Donald Trump and Indian Prime Minister Narendra Modi exchanged warm words of friendship in Texas at a rare mass rally for a foreign leader.

Around 50,000 people gathered for what Mr Trump called a "profoundly historic event" on Sunday in Houston.

The "Howdy, Modi!" event was billed as one of the largest ever receptions of a foreign leader in the US.

Mr Modi, however, may face a frostier reception at the UN General Assembly.

He is likely to face criticism over tensions in Indian-administered Kashmir, which he stripped of its special status last month, promising to restore the region to its "past glory".

The region has been in lockdown for more than a month with thousands of activists, politicians and business leaders detained.

Trade talks and the UN General Assembly are on the Indian prime minister's agenda during his week-long visit to the United States.

Pakistani Prime Minister Imran Khan, who has been the most vocal international leader to oppose India's Kashmir move, is also in the US for the UN conference. Like Mr Modi, he will have a one-on-one meeting with Mr Trump on the sidelines of the summit.

A 90-minute show, featuring 400 performers, warmed up the crowd before Mr Modi and Mr Trump shared the stage.

"I'm so thrilled to be here in Texas with one of America's greatest, most devoted and most loyal friends, Prime Minister Modi of India," Mr Trump told the crowd.

Image copyright Getty Images Image caption Narendra Modi and Donald Trump leave the stage holding hands at Houston's NRG Stadium

In his speech, Mr Modi said India has a "true friend" in the White House, describing Mr Trump as "warm, friendly, accessible, energetic and full of wit".

"From CEO to commander-in-chief, from boardrooms to the Oval Office, from studios to the global stage… he has left a lasting impact everywhere," Mr Modi said.

Personal-touch diplomacy played to perfection

Brajesh Upadhyay, BBC News, Houston

This was exactly the kind of crowd size and energy President Trump loves at his rallies.

Only here the chants were for Indian Prime Minister Narendra Modi and Mr Trump was the superstar invited to the party. But the crowd did not disappoint him either and greeted him with chants of "USA!", most heard at Trump rallies.

The personal-touch diplomacy with Mr Modi's trademark bear hugs was played to perfection.

This rally has been called a win-win for both the leaders. For President Trump, it was a chance to court Indian-Americans for the 2020 presidential election race where Texas could emerge as a battleground state. For Mr Modi, a PR triumph and picture with the president of the United States may help him shrug off the criticism over his recent strong-arm polices at home.

Houston's NRG Stadium, where the event was hosted, was the first stop for Mr Modi, whose Hindu nationalist Bharatiya Janata Party (BJP) won a landslide victory in this year's Indian elections.

Greeted by a standing ovation, Mr Trump used his speech to heap praise on Mr Modi, who he said was doing a "truly exceptional job for India" and its people.

Mr Trump also paid tribute to the Indian-American community, telling them "we are truly proud to have you as Americans".

The US has a population of about 4 million Indians who are seen as an increasingly important vote bank in the country.

Apart from Mr Trump, organisers also invited Democrats to the event - House Majority Leader Steny Hoyer was among those who spoke.

The 2010 US census shows that Texas is home to the fourth-largest Indian-American population in the country after California, New York and New Jersey.

Analysis of voting patterns shows the community tends overwhelmingly to support the Democrat party.

Image copyright Getty Images Image caption The event, dubbed "Howdy, Modi!", was attended by an estimated 50,000 people

No stranger to nationalist rhetoric himself, Mr Trump compared security at the US-Mexico border to the tensions between India and Pakistan in the tinderbox Kashmir region.

"Both India and US also understand that to keep our communities safe, we must protect our borders," Trump said.

In India, the rally was closely watched, with most mainstream media outlets running live news updates of what was transpiring on stage.

The event had been making headlines for days before as well.

On Twitter, many people shared instant analysis and opinions of what was taking place on the stage with the sentiment being overwhelmingly positive. Many praised Mr Modi for what they saw as his statesmanship and diplomatic acumen with a lot of praise coming in for the US president as well.