Dexter Lewis

Defendant Dexter Lewis sits in court during his sentencing hearing, in Denver District Court on Wednesday, Sept. 30, 2015. Lewis was sentenced to life in prison Wednesday for stabbing five people to death during an October 2012 Denver bar robbery that netted $170. (RJ Sangosti/Denver Post via AP, Pool)

DENVER (AP) — A man convicted of stabbing five people to death during a Denver bar robbery that netted $170 has been sentenced to five life sentences and an additional 180 years for other felony counts.

The judge said he issued the life sentences because he had no other choice after jurors rejected the death penalty.

Dexter Lewis, 25, was convicted in August of five counts of murder for the October 2012 stabbings at Fero’s Bar and Grill.

Prosecutors said Lewis led a four-man robbery crew at Fero’s, where he killed the bar’s owner and four customers. Two men testified that Lewis stabbed his victims while they were held at gunpoint.