BEAVER — A man convicted of shooting another man as he sat in a crowded restaurant here has been sentenced to serve at least 20 years to-life in prison.

Mark Elden Erickson, 31, was sentenced in 5th District Court on Wednesday for the murder of Timothy McEnaney. The judge also ordered him to pay more than $26,000 in fines and restitution.

Erickson pleaded guilty to aggravated murder, a first-degree felony. In exchange, Beaver County prosecutors agreed not to seek the death penalty or ask for life without parole.

McEnaney, 32, was having dinner with Erickson's ex-wife inside the crowded Timberline Inn restaurant in Beaver on Dec. 2 when Erickson walked in and opened fire. Erickson's children were outside waiting in a car at the time of the slaying.

The judge asked for no less than 20 years when pronouncing sentence, court clerks said.