The Indian army has killed three suspected rebels and another person was shot dead during a six-hour gun battle on a military camp in Indian Kashmir near the border with Pakistan.
Heavily-armed fighters stormed the army base in Tangdhar, 140km northwest of the main city of Srinagar, setting off grenades and firing automatic weapons.
"Three terrorists were killed in the exchange of stand-off fire that began in the morning hours. One soldier was wounded in the firefight," defence spokesman in Srinagar N.N. Joshi told AFP.
A civilian who worked on the base was also killed in the firing, Joshi said, adding the attack finished some six hours after the militants infiltrated the base.
Kashmir has been divided between India and Pakistan since the end of British colonial rule in 1947.
Both claim the Himalayan territory in its entirety and have fought three wars over its control.
Several rebel groups have for decades been fighting Indian forces deployed in the region, seeking independence or a merger of the territory with Pakistan.
The fighting has left tens of thousands dead, mostly civilians.