UNITED NEWS INTERNATIONAL (UNI) — Indonesian police are investigating the motives of a radical Islamist who attacked Catholic churchgoers with a sword at a Sunday Mass.

Police said a man identified as Suliyono forced his way into a church in Yogyakarta province on Feb. 11.

He swung a one-meter-long sword at churchgoers, injuring at least four people including an 81-year-old priest.

He also reportedly chopped the heads off of statues of Jesus and the Virgin Mary.

Police eventually shot Suliyono after he ignored a warning shot.

He is now hospitalized.

Police say they are investigating the incident as a terrorist attack with the assistance of the national counter-terrorism unit.

Agence France-Presse reports that National Police Chief Tito Karnavian said the suspect had tried to travel to Syria to join the Islamic State group.