A 21-year-old Chicago man pleaded guilty to first-degree murder and was sentenced to life in prison in the slaying of a Kentucky truck driver at an I-15 rest stop this fall.

Tracy Eugene Smith, 21, pleaded guilty Monday in the death of James G. Bray, 53, of Asher, Ky., who was shot in the head Oct. 3 with a 9mm handgun.Court officials said Smith said he would not appeal as long as the court did not impose the death sentence.

Hans Q. Chamberlain, a Cedar City attorney hired by Bray's family, told the court that his clients had agreed to the sentence.

A second defendant, Timothy Michael Miller, 24, Le Roy, N.Y., pleaded guilty to attempted second-degree murder, and the judge ordered a presentence report. Miller's sentencing was scheduled Dec. 19 at 10 a.m., and he faces up to 15 years in prison, plus five years for use of a firearm.

Bray was shot in the head inside a restroom at the Pine Creek rest area, about 18 miles north of here, Beaver County Sheriff Ken Yardley said.

The two men were arrested about four hours after the shooting while leaving a cafe in Salina.