The second of two people convicted in the murder of a 43-year-old Tomah man has been sentenced to 13 years in prison.

Sebastian Martinez, 23, no permanent address, was sentenced in Monroe County Circuit Court Wednesday.

Martinez and Zachary Nathan Davis were arrested March, 22, 2015, in Tennessee for robbing and fatally stabbing Derek Magnuson with a machete in his motel room 12 days earlier.

Surveillance video from the hotel recorded the presence of Davis and Martinez, who uses the alias Sabrina Martinez and appeared in the video dressed as a female.

Martinez told police that Davis became enraged when Magnuson − repeatedly described by Martinez as “the guy who got hurt” − made a sexual advance toward Martinez. He said Davis stabbed Magnuson several times “with a big knife.”

Authorities say the stabbing in Tomah capped a week-long crime spree that began in Idaho March 5, 2015, when Davis and Martinez stole a car from a dealership in Boise. They were involved in a high-speed chase with police March 8 near Stanley, North Dakota, and later purchased the machete at Cabela’s in Woodbury, Minnesota, that authorities believe was used to kill Magnuson.

In July Martinez pled no contest to charges of armed robbery with the use of force and harboring/aiding a felon. He was originally charged with felony murder as party to a crime.

Davis was found guilty of first-degree murder by a Monroe County jury last year and was sentenced to life in prison without the possibility of release.