One militant was caught alive and four were killed by security forces in India-administered Kashmir on Tuesday, even as a curfew was lifted from many parts of the region after more than a fortnight of unrest.
The clash began after soldiers spotted a group of militants near the line of control that divides the Himalayan region into two portions, one administered by India and the other by Pakistan.
Local media, quoting official sources, reported that all the militants were Pakistani nationals.
"Catching a militant live is a big success as it exposes the game plan of Pakistan," junior home minister Kiren Rijiju told reporters in Delhi, terming the arrest a "big success" for the security forces.
India has repeatedly accused Pakistan of backing militants and helping them cross over to carry out attacks on Indian soil.
Islamabad denies the charges and describes the militants as freedom fighters. India and Pakistan have fought two wars over the disputed region.
Later Tuesday, authorities lifted a curfew from the state capital, Srinagar, and most parts of the Kashmir valley after 17 days of unrest in which 47 people were killed. Widespread protests broke out after the killing of militant leader Burhan Wani on July 8.
Officials said preventive restrictions on the movement of people were in place in sensitive areas. Most businesses and schools were closed and there was little traffic on the roads.