Brig. Gen. Abdul Raziq, Kandahar chief of police, speaks to the assembled locals of Kajran in Daykundi province during a shura Oct. 22.Brig. Gen. Abdul Raziq, Kandahar chief of police, speaks to the assembled locals of Kajran in Daykundi province during a shura Oct. 22.Australian Defense Force

The Taliban carried out an insider attack on Thursday inside the governor’s palace in Kandahar province, killing the provincial intelligence chief, wounding two Americans and barely missing the top US commander in Afghanistan, General Austin “Scott” Miller. 

But the attack also killed Brig. Gen. Abdul Raziq, Kandahar’s powerful police chief. 

A fierce Taliban fighter, Raziq, 39, had previously survived several assassination attemps, and was seen as an invaluable US ally, largely credited with pacifying Kandahar province just a few years earlier.

But he was also a fierce critic of Afghan President Ashraf Ghani, and had been previously accused of torture and corruption. 

Here’s a look at his life and impact.