India's new prime minister rolled out the red carpet for Xi Jinping in his home town on Wednesday, as the Chinese president began a maiden visit with both sides seeking to reset the relationship between Asia's rival superpowers.
Narendra Modi has pulled out all the stops for Xi's arrival, organising an intimate riverside dinner in Ahmedabad, the main city in his home state of Gujarat, where giant billboards in Chinese, Gujarati and English have been put up to welcome him.
With both sides eager to emphasise cooperation over competition, Xi said in an articled published Wednesday that "the world's factory and the world's back office" made a winning combination, welcoming Indian businesses to China and pledging much-needed funding for infrastructure development.
Despite his hardline nationalist reputation, Modi moved quickly to engage with China after winning office this year on a campaign promise to revive India's flagging economy, which experts say has been held back by weak infrastructure.
But Modi has also made clear he sees China as a competitor and intends to pursue a more muscular foreign policy than the previous centre-left Congress party government.
During his election campaign, he said that China would have to shed what he called its "expansionist mindset", although he also spoke of his admiration for China's economic success.
The neighbours, now nuclear-armed, fought a brief but bloody war in 1962 over the Indian state of Arunachal Pradesh in the eastern Himalayas, and are still embroiled in a bitter dispute over the territory.
Border issues are on the agenda for Xi's visit, but both sides say they want to focus on economic cooperation, with India seeking Chinese funding for an overhaul of its dilapidated railways and cooperation in nuclear energy.
"China-India relations have become one of the most dynamic and promising bilateral relations in the 21st century," wrote Xi in the article in The Hindu daily.
China is India's biggest trading partner, with annual two-way commerce of more than $65 billion. But Indian data shows the trade deficit with China has soared to more than $40 billion from just $1 billion in 2001-02.
Experts said China would seek to allay Indian concerns over the widening deficit as it tries to cement its relationship with its western neighbour at a time of heightened tensions with Japan and several Southeast Asian nations over disputed sea territory.
Tibet protesters detained
Modi enjoys a close relationship with Japan's President Shinzo Abe, and analysts have said he may be able to leverage Beijing's rivalry with Tokyo to secure Chinese investment.
China's consul-general in Mumbai Liu Youfa told the Times of India daily ahead of the visit that Xi would "commit investments of over $100 billion", pointing out that this was three times the amount pledged by Japan during a visit by Modi earlier this month.
Xi heads to India after visiting the Maldives and Sri Lanka as China increasingly asserts its influence in a region that has traditionally come under India's sphere of influence.
Before flying out on Wednesday morning, Xi launched the construction of a $1.4 billion port city in Sri Lanka's capital, a strong reminder of Beijing's growing foothold in the Indian Ocean region.
Colombo has sought to allay Indian fears by insisting its relations with Beijing are based on commercial rather than security considerations.
But some in New Delhi still fear China's growing engagement in the region is a deliberate strategy to encircle India.
The presence in India of the Dalai Lama, Tibet's exiled spiritual leader, is another source of tension between India and China.
Police in New Delhi detained around 10 Tibetan protesters outside the Chinese embassy on Wednesday morning.
Another Tibetan was detained at the former hermitage of independence leader Mahatma Gandhi, now a museum, which Xi was due to visit later Wednesday.
The man, who was carrying a Tibetan flag, said he was there "to tell Xi to free Tibet".
Xi will on Thursday hold formal talks with Modi and India's President Pranab Mukherjee in New Delhi and sign a series of agreements expected to include nuclear cooperation and new Chinese-funded industrial parks.
But Wednesday will be an opportunity for the two leaders -- who met in July at a BRICS summit in Brazil -- to talk in a less formal setting.
Modi, who celebrates his 64th birthday on Wednesday, has planned a riverside stroll and private dinner in a luxury tent before Xi flies to New Delhi.
Workers were out in force on the roads leading to Ahmedabad airport overnight, repainting white lines and levelling the surface.
But not everything went smoothly. Xi's Air China plane sat on the tarmac for several minutes as workers appeared to struggle to attach stairs to allow him and his wife Peng Liyuan to disembark.