PORTLAND, Ore. (AP) — A woman who broke into a home and hotel Portland before exchanging gunfire with Portland police in 2018 has been sentenced to eight years in prison.

KOIN reports that Sarah Michelle Brown was convicted of three counts of attempted murder, two counts of unlawful use of a weapons and one count of burglary. The Multnomah County District Attorney’s Office said Friday her sentence takes into account her drug addicition, her mental health then and now and the risk she put everyone in the area into that day.

Brown had no prior criminal record.