SRINAGAR, India - Indian and Pakistani troops fired at each other in disputed Kashmir on Monday, as Indian troops searched an army camp elsewhere in the region where suspected militants killed an Indian paramilitary soldier.

The exchange of gunfire lasted about five hours and caused no casualties, according to an Indian army officer who spoke on condition of anonymity because he was not authorized to speak to media. The army said earlier that Pakistani troops had fired without provocation using small arms and mortar shells in the Poonch sector of the Line of Control separating the Indian- and Pakistani-controlled parts of Kashmir.

Pakistan’s army said in a statement that its troops were responding to unprovoked firing by Indian soldiers.

Get Breaking News Delivered to Your Inbox

In Islamabad, Prime Minister Nawaz Sharif met with the leaders of all Pakistani political parties to discuss the ongoing clashes.

“Our aim is to bring all political parties on one page,” Sharif’s aide and lawmaker Talal Chaudhry said on Pakistani TV channels. “We want to send a message to the world that we’re one against any threat to the country, irrespective of our political differences.”

The Indian army camp that was attacked late Sunday in the garrison town of Baramulla is the local headquarters of a counterinsurgency military unit.

An Indian army soldier keeps guard from a bunker near the border with Pakistan in Abdullian, southwest of Jammu, September 30, 2016. REUTERS

Police officer Syed Javeid Mujataba Gillani said it was not immediately known whether the militants tried to enter the camp during their attack, which killed one soldier and wounded another. The town is 30 miles northwest of Srinagar, the main city in the portion of Kashmir controlled by India.

Sunday’s attack came three days after the Indian army said it had destroyed “terrorist launching pads” used by militants with support from Pakistan. Islamabad denies India’s accusations it arms and trains the insurgents, saying it offers moral and diplomatic support to Kashmiris.

In another deadly attack in Kashmir last month, suspected rebels sneaked into the army base in the town of Uri and killed 18 Indian soldiers.

India accuses Pakistan of arming and training insurgents fighting for Kashmir’s independence from India or its merger with Pakistan, a charge Pakistan denies.

Kashmir is divided between India and Pakistan, which have fought two wars for control of the Himalayan territory since British colonialists left in 1947. The area is claimed by both states in its entirety. Most people in the Indian-controlled portion favor independence or a merger with Pakistan. A militant uprising and subsequent army crackdown since 1989 have killed more than 68,000 people.