Rebels in Indian-controlled Kashmir killed two soldiers in an attack Thursday in the disputed region’s main city, the Indian army said.

Col. Rajesh Kalia, an Indian army spokesman, said militants sprayed bullets at an army patrol on the outskirts of Srinagar city. Two soldiers were critically injured and later died at a hospital, he said.

More Images
A Kashmiri woman walks past Indian security officers patrolling near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Rebels in Indian-controlled Kashmir killed two soldiers in an attack Thursday in the disputed region’s main city, the Indian army said.

Kashmiri women walk past Indian security officers keeping guard near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Rebel groups have been fighting against Indian rule since 1989. None of the groups immediately claimed responsibility for the attack.

Indian  security officers stand at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

The attack comes during near-daily fighting between Pakistani and Indian soldiers along the highly militarized frontier that divides Kashmir between the two nuclear-armed rivals.

An Indian security officer stands at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

An Indian security officer stands at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian soldiers patrol at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian soldiers patrol at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Kashmiris walk past security officers patrolling near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Kashmiris walk past security officers patrolling near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers interrogate civilians near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers interrogate civilians near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

A Kashmiri woman walks past security officers keeping guard near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

A Kashmiri woman walks past security officers keeping guard near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Counterinsurgency police and soldiers launched a search operation for the attackers.

A Kashmiri woman walks past Indian security officers patrolling near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

A Kashmiri woman walks past Indian security officers patrolling near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Rebel groups have been fighting against Indian rule since 1989. None of the groups immediately claimed responsibility for the attack.

Both India and Pakistan claim the divided territory of Kashmir in its entirety. Many Muslim Kashmiris support the rebel goal of uniting the territory, either under Pakistani rule or as an independent country.

Tens of thousands of civilians, rebels and government forces have been killed in the conflict.

Kashmiri women walk past Indian security officers keeping guard near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Kashmiri women walk past Indian security officers keeping guard near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

The attack comes during near-daily fighting between Pakistani and Indian soldiers along the highly militarized frontier that divides Kashmir between the two nuclear-armed rivals.

The Indian army said Pakistani soldiers targeted Indian positions with mortars along the de facto border in southern Poonch district on Thursday. Indian soldiers retaliated, the army said in a statement. It did not report any casualties.

On Nov. 13, nine civilians and six soldiers were killed on both sides as Indian and Pakistani soldiers exchanged artillery fire at multiple locations along the de facto border. The fatalities were some of the highest reported on a single day in recent years.

Indian  security officers stand at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers stand at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

An Indian security officer stands at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

An Indian security officer stands at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian soldiers patrol at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian soldiers patrol at the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Kashmiris walk past security officers patrolling near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Kashmiris walk past security officers patrolling near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers interrogate civilians near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers interrogate civilians near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

Indian security officers patrol near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

A Kashmiri woman walks past security officers keeping guard near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)

A Kashmiri woman walks past security officers keeping guard near the site of an attack on the outskirts of Srinagar, Indian controlled Kashmir, Thursday, Nov. 26, 2020. Anti-India rebels in Indian-controlled Kashmir Thursday killed two soldiers in an attack in the disputed region’s main city, the Indian army said.(AP PhotoMukhtar Khan)