Prime Minister Narendra Modi on Monday announced a $1.62 billion (24,000 crore Nepali rupees) economic assistance package to help Nepal rebuild areas devastated by flash floods in August.

The announcement came after Modi met Nepali Prime Minister Balendra Shah in New Delhi. Shah is on his first visit to India since taking office in March, six months after a youth-led uprising over corruption and nepotism forced former Prime Minister KP Sharma Oli from power. In a joint press statement, Modi expressed condolences for the lives lost in the floods and said the assistance would help restore infrastructure, rebuild communities and support people who lost their homes and livelihoods. Shah thanked India for consistently acting as a first responder for Nepal in times of natural disasters and invited Indian investors to partner in the economic prosperity of the two countries.

The August 26 floods destroyed roads, bridges, power plants, farms and homes, causing an estimated $4.7 billion in losses, according to Nepali authorities. As many as 1,500 people were killed and more than 5,200 were missing in the aftermath. The UN Fund for Responding to Loss and Damage also pledged about $20 million to support Nepal's recovery.

The two countries signed agreements to boost their economic relationship. Modi and Shah also virtually inaugurated a hydropower project and an oil storage facility in Nepal, as well as an oil pipeline and a cross-border train service connecting the two countries. Nepal shares an open border with India. Ties have been strained by territorial disputes and accusations of political interference, while China has expanded its presence in Nepal in recent years, according to reports.