An Anoka County man who hadn’t slept for almost two days and had a couple of beers soon after leaving an overnight work shift has been sentenced to nearly a year in jail for causing a head-on crash that killed an inseparable couple.

Jeremy A. Miller, 29, of St. Francis, was sentenced last week in Anoka County District Court after pleading guilty to criminal vehicular homicide in connection with the Nov. 2, 2015, collision that killed Richard J. Lindeen, 71, and Ann C. Lindeen, 73, both of Andover.

The couple had been married for 51 years. A funeral home notice for the Lindeens described them as “inseparable. Their greatest love was for each other, their kids, granddaughters and family.”

The sentence from Judge James Cunningham Jr. allows Miller to be granted work release, and he can also ask the court on a yearly basis to forgive his jail time. He will also be on probation for 15 years and must perform 80 hours of community service, abstain from using alcohol and make restitution of more than $35,000.

The crash occurred shortly after 1 p.m., when Miller was heading north on 7th, where his pickup truck crossed the centerline and struck the Lindeens’ van, according to the Sheriff’s Office.

Miller told a deputy at the scene that he had been up for the past 40 hours and went to a friend’s home and had a “couple of beers” after leaving work at 7 a.m., according to the criminal complaint.

The deputy found Miller to be disoriented, thinking it was 10 a.m. when it was actually 2 p.m., the charges read. The deputy saw a cellphone in Miller’s lap and noted that “it appeared he was sending a text on that phone.”

Miller’s blood alcohol content was 0.05 percent, within the legal limit for driving in Minnesota.