Police said seven people, including a senior local judge were on Sunday killed and 19 others wounded, after militants stormed a provincial court office in Afghanistans eastern province of Logar.

Nisar Abdulrahimzai, Deputy Provincial Police Chief, said the initial report was that five civilians were killed and 19 others wounded in Sunday morning's attack on Logar provincial appeal court office building.

He said the attack took place at around 11:00 a.m. local time in the provincial capital Pul-e-Alam city.

Abdulrahimzai said among those killed was Akram Nejat, Head of Provincial Appellate Court.

"The attack took place when an official ceremony was under way in the building.The police chief said two suicide bombers were also killed as a result of the attack, while one explosion occurred inside the building's yard.

Abdulrahimzai said government troops cordoned off the area for precautionary measures.

The Taliban-led insurgency has been rampant since early April when the militant group launched its annual rebel offensive in different areas of the country.

The Taliban urged civilians to stay away from official gatherings, military convoys and centres regarded as the legitimate targets by militants, besides warning people not to support the government.

On Wednesday, five people, including four civilians, were killed and 16 others wounded after four Taliban militants attacked a local court office in neighboring Ghazni province.