The officials further added that the terrorists tried to the enter the courtroom of Additional Sessions Judge Kulsoom Azam who was injured along with others as a result of firing which was followed by a suicide bomber detonating himself.
In the meantime the information minister of Khyber Pakhtunkhwa province Mian Iftikhar said some attackers are still thought to be inside the complex, possibly with hostages.
There was no immediate claim of responsibility for the operation. Police forces sealed off roads around the complex.
Taliban militants, who are close to al Qaeda, are fighting to topple Pakistan’s U.S.-backed government and impose their radical version of Islam.