Three people were killed after a man went on a shooting spree in downtown Fresno, California on Tuesday before he was tackled and taken into custody, police said.

Fresno Police Chief Jerry Dyer said officers have taken Kori Ali Muhammad, 39, into custody in connection to the shootings. Dyer said Muhammad went by the nickname “Black Jesus” and shouted “Allahu Akbar” as police tackled him to the ground.

Dyer said at a news conference Muhammad has made posts against white people and the government on his Facebook page, and that all the people he shot were white men.