Iron County prosecutors say they will seek the death penalty for a defendant accused of shooting and killing a man who was in his ex-girlfriend’s bed.

Mark Mair, 28, is charged in 5th District Court with aggravated murder and other charges in connection to the July 2016 death of 34-year-old Justin Hanna.

Earlier this week, Iron County Attorney Scott Garrett filed court papers indicating that prosecutors will seek Mair’s execution.

Mair went to a Cedar City trailer home in the early morning hours of July 24, 2016, and pushed in a fan sitting in a bedroom window, according to charging documents. He then allegedly leaned through the window and began firing a gun towards Hanna and Mair’s ex-girlfriend, who had been in a bed together. The ex-girlfriend later told police she and Mair broke up a few days before the shooting.

Hanna was shot three times, and was able to stumble into a front room before collapsing from his wounds. He died at the home.

Mair fled the state after the shooting, but was later arrested in Grand Junction, Colo.

A review hearing is set for Feb. 20.