Afghan officials say a senior official of the country's Supreme Court has been shot dead by gunmen in the capital, Kabul.

The Taliban claimed responsibility for the attack early Saturday morning that killed Atiqullah Rawoofi, the head of the secretariat of the Afghan Supreme Court.

Farid Afzali, chief of the Kabul police criminal investigation unit, says the attack took place near Rawoofi's home in Kabul's northwestern neighborhoods.

A colleague of Rawoofi, speaking on condition of anonymity for fear of reprisals, says two men on a motorbike shot Rawoofi as he was walking from his home to his car.

Taliban militants have intensified their attacks on the Afghan capital just weeks ahead of the withdrawal of most foreign troops by the end of the year.