FOLEY (AP) - One of two men charged in the death of a man who had been missing for several months has pleaded guilty in Benton County court.

Twenty-Five-year-old Joshua Smith pleaded guilty Wednesday to aiding and abetting intentional second-degree murder in the death of 31-year-old Jamie Wylie of Foley. Wylie's body was found behind a business east of St. Cloud in March 2014, after his family said they last had contact with him in December 2013.

Smith told a judge that he shot Wylie twice in December 2013 on a road near Foley. Prosecutors previously said 27-year-old Travis McKinney shot Wylie, and he's scheduled to go on trial on murder charges next week.

Benton County Attorney Philip Miller declined to comment about Smith's account, saying he didn't want to affect prosecution against McKinney.