A St. Louis County man convicted last month for stabbing and beating his two roommates to death in 2016 has been sentenced to life in prison without parole.

The St. Louis Post-Dispatch reports that 48-year-old John Hamm was sentenced Friday. On Feb. 4, a jury convicted Hamm of two counts each of first-degree murder and armed criminal action, and one count of auto theft.

Police say Hamm confessed to killing 46-year-old Robert Hall and 41-year-old Shannon Larock on July 12, 2016, after an argument over rent money.

The defense conceded that Hamm killed the victims, but had argued the killings were not premeditated, which is required for a first-degree murder conviction.