Three men convicted of killing three 8-year-old Cub Scouts and dumping their naked bodies in an Arkansas ditch have been allowed to change their pleas and will be freed after nearly two decades in prison.

Damien Echols, Jason Baldwin and Jessie Misskelley pleaded guilty Friday.

The so-called West Memphis Three agreed to a legal maneuver that lets them maintain their innocence while acknowledging prosecutors likely have enough evidence to convict them.

Two of the victims in the 1993 killings were drowned, the third corpse was mutilated, sparking rumors they had been sacrificed in a Satanic ritual.

Echols was sentenced to die; Baldwin and Misskelley received life terms. Misskelley initially confessed, but defense attorneys claim police took advantage of his low IQ.

The men have been incarcerated since they were arrested in the 1993 deaths of three young Cub Scouts. The boys' naked bodies were found in a West Memphis ditch. Echols was sentenced to death. Misskelley and Baldwin were ordered to spend the rest of their lives in prison.