ISLAMABAD (AP) — Pakistan’s Supreme Court ordered authorities Tuesday to rebuild a century-old Hindu temple that was vandalized and set on fire by a mob last week, drawing condemnation from the government and leaders of minority Hindus.

The court ruled after authorities said they arrested more than 100 people for attacking the temple and several police officers were fired for neglecting to protect the structure.

The temple’s destruction happened Dec. 30 in Karak, a town in northwestern Khyber Pakhtunkhwa province. Supporters of Pakistan’s radical Jamiat Ulema-e-Islam party and residents attacked the building after being incited by a local cleric who was opposed to the temple’s planned renovation.

Although Muslims and Hindus generally live peacefully together in Pakistan, there have been other attacks on Hindu temples in recent years. Most of Pakistan’s minority Hindus migrated to India in 1947 when India was divided by Britain’s government.