A mentally-ill Scarborough woman who attacked workers at a Canadian Tire in a terrorist incident was sentenced Thursday to seven years in prison.

Rehab Dughmosh was found guilty of four terrorism-related charges — including trying to travel to Syria to join ISIL in 2016.

In June 2017, Dughmosh swung a golf club and a butcher’s knife at store employees while she was draped in an ISIL banner and wearing an ISIL bandanna.

Dughmosh’s mental illness — likely schizophrenia — “played a central role in the attacks at Canadian Tire,” said Justice Maureen Forestell in her judgment.

Read more: Toronto Sun