ISLAMABAD, Feb. 21 (Xinhua) -- At least four people were killed and 17 others injured after a local court was attacked by suicide bombers in Pakistan's northwest Charsadda district on Tuesday morning, local media and officials said.

The killed people included a lawyer and all three attackers who tried to storm the court but were gunned down by police at the main gate of the court.

Local Urdu TV channel Abb Takk said the injured people included five policemen. The injured have been shifted to nearby hospitals.

District police officer Sohail Khalid confirmed that one of the suicide bombers blew himself up at the main gate of the local court located in Tangi area of the Charsadda district in the country's northwestern Khyber Pakhtunkhwa Province.

The officer added that two attackers managed to enter the court but were gunned down by police.

He said that an extra police contingent and paramilitary troops have rushed to the court, bringing the situation under control.

No group has claimed the attack yet.