An asylum seeker from Morocco who went on a vicious rampage following the Oct. 7 Hamas attack that triggered the Israel-Hamas war was convicted Thursday of murder for stabbing a 70-year-old man in the streets of an English seaside town.

Ahmed Alid, 45, stabbed Terence Carney six times on Oct. 15 in the center of Hartlepool minutes after he hacked at a sleeping housemate while shouting “Allahu Akbar,” or “God is great” in Arabic.

The attack came eight days after Hamas militants stormed into Israel on Oct. 7 and Alid told police he had done it “for the people of Gaza.” He swore he would have killed more if he had a machine gun and other weapons, prosecutor Jonathan Sandiford said in Teesside Crown Court.