Three back to back explosions were heard near a court in Khyber Pakhtunkhwa’s Charsadda district of Pakistan on Tuesday afternoon.

The suicide bombers who targeted a court in Pakistan’s Khyber Pakhtunkhwa province were killed on Tuesday, also leaving five others dead, authorities said.

At least three attackers attempted to enter the Sessions Court at Charsadda district through the main gate when the complex was crowded.

The terrorists suddenly opened fire and threw grenades, prompting police and security forces to fire back, the Dawn said after speaking to officers and witnesses.

As per official reports, the attackers barged into the court premises, opened fire and also hurled grenades. This prompted retaliatory fire by security forces deployed at the court.

 In the retaliatory firing, one bomber was killed at the gate whereas the second was killed as he entered the court. The third bomber was killed after he detonated his explosives.

Police officer Fayaz Khan was quoted as saying that five civilians were also killed in the terror attack, for which the outlawed Jamaat-ul-Ahrar claimed responsibility.

Some reports said a lawyer was among the dead and that up to 17 persons were injured.

Urdu TV channel Abb Takk said the injured included five policemen, Xinhua news agency reported.

Up to 10 ambulances were rushed to Charsadda from Peshawar, where the Lady Reading Hospital was put on high alert.

The attack come even though security had been heightened across the province and the rest of Pakistan after a wave of terror attacks that left over 100 people dead in the past 10 days.

Charsadda is located nearly 40 minutes away Peshawar.

Earlier, gunfire was heard after one of the blasts near the gate of the court located at Tangi Bazaar.

The Dawn quoted witnesses as saying that the remains of the bombers were lying along with their explosives and ammunition.

On February 16, a suicide attack on the Lal Shahbaz Qalandar shrine in Sindh killed 88 persons and injured more than 200.

The Jamaat-ul-Ahrar, with ties to the Islamic State, had also claimed responsibility for the carnage.