A Soddy Daisy man pleaded guilty Thursday to the 2012 murder of Casey Burgiss.

Keith Stewart pleaded guilty to second-degree murder and especially aggravated robbery. As part of the plea deal, he was sentenced to 35 years in prison.

READ MORE | Soddy Daisy murder suspect makes first court appearance

The lead detective in the case testified Stewart was paid $240 to lure Burgiss to the Devil's Pocket, a cave behind Stewart's home.

Medical examiners say Burgiss died of gun shot wounds to the head and was left for dead in a cave on Montlake Mountain.

READ MORE | Cause of death revealed in murder of Soddy Daisy man

Stewart told police he and two other men had plans to rob Burgiss and that another man shot him.

READ MORE | Body found in Soddy Daisy identified, arrest made

Detectives say they questioned Stewart a month after Burgiss went missing, but he denied any role in the robbery that led to Burgiss' murder, and changed his story multiple times, before finally leading officers to Burgiss' body.