India has pledged $250 million for post-earthquake reconstruction in Nepal as the two countries try to remove irritants in their ties following protests in Nepal over the country's new constitution.

The assistance covering housing, health, education and cultural heritage sectors in earthquake-hit districts is part of an accord signed Saturday during Nepalese Prime Minister Khadga Prasad Oli's visit to India.

Nearly 9,000 people were killed in a 2015 earthquake and aftershocks in Nepal. Nearly a million houses and buildings were damaged.

Oli and Indian Prime Minister Narendra Modi also inaugurated a transmission line for the supply of Indian electricity to Nepal under an Indian credit line of $13.5 million.

Recent political protests in Nepal disrupted the supply of petroleum and other products from India, creating a rift in relations.