Fighting between armed Sunni and Shiite groups in Pakistan has killed at least 37 people and injured 25 others, a senior police officer said on Saturday.

The overnight violence was the latest to rock Kurram, a district in Khyber Pakhtunkhwa province, and comes days after a gun ambush killed 42 people.

Shiite Muslims make up about 15% of the 240 million people in Sunni-majority Pakistan, which has a history of sectarian animosity between the communities.

Although the two groups generally live together peacefully, tensions remain, especially in Kurram.

The senior police officer said armed men in Bagan and Bacha Kot torched shops, houses and government property.

Shiite Muslims make up about 15% of the 240 million people in Sunni-majority Pakistan (AP Photo/K.M. Chaudary)

Intense gunfire was ongoing between the Alizai and Bagan tribes in the Lower Kurram area.

“Educational institutions in Kurram are closed due to the severe tension. Both sides are targeting each other with heavy and automatic weapons,” said the officer.

Videos shared with The Associated Press showed a market engulfed by fire and orange flames piercing the night sky. Gunfire can also be heard.

A government delegation arrived in the city of Parachinar on Saturday to defuse the crisis. A spokesman for the provincial government, Muhammad Ali Saif, said the delegation was meeting tribal elders.

“Detailed meetings were held with Shiite leaders and positive discussions took place to address the issues,” he told the media. “In the next phase, meetings will be held with Sunni leaders. Our priority is to secure a ceasefire between both sides and establish a lasting peace.”

The location of Thursday’s attack was also targeted by armed men, who marched on the area.

Survivors of the gun ambush said assailants emerged from a vehicle and sprayed buses and cars with bullets. Nobody has claimed responsibility for the attack and police have not identified a motive.

Dozens of people from the district’s Sunni and Shiite communities have been killed since July, when a land dispute erupted in Kurram that later turned into general sectarian violence.