Three years after the brutal killing of pint-sized beauty queen JonBenet Ramsey, her parents were indicted for being complicit in her murder, newly unsealed court papers revealed.

John and Patsy Ramsey put their 6-year-old in a dangerous situation and helped her killer, according to Colorado grand-jury documents released Friday.

The panel voted in 1999 to charge the couple in separate but identical indictments with one count of child abuse resulting in death and one count of accessory to a crime.

JonBenet RamseyPhoto: ZUMAPPRESS.com

The long-sealed paperwork did not indicate who might have murdered JonBenet, whose bludgeoned and strangled body was found in the basement of the family’s ­Boulder home on Dec. 26, 1996.

The little girl was found with duct tape covering her mouth, a cord around her neck and evidence that she had been garroted and sexually tortured.

The documents were ordered released Friday by a Colorado Superior Court judge in response to a lawsuit brought by a Boulder ­reporter and the Reporters Committee for Freedom of the Press.

The child-abuse indictments state that John and Patsy Ramsey “unlawfully, knowingly, recklessly and feloniously” allowed their daughter to be “unreasonably placed in a situation which posed a threat of injury to the child’s life or health” and which “resulted in the death of JonBenet Ramsey.”

According to the accessory indictments, the Ramseys “render[ed] assistance to a person” in an effort to hinder or prevent the discovery of with intent to hinder, delay and prevent the discovery, detention, apprehension, prosecution, conviction and punishment of such person for the commission of a crime, knowing the person being assisted has committed and was suspected of the crime of murder in the first degree and child abuse resulting in death.”

The district attorney at the time, Alex Hunter, refused to sign the indictment papers and declined to prosecute, citing a lack of evidence.

JonBenet’s murder made worldwide headlines as glam photos and videos of the little girl dressed in adult makeup and suggestive poses were released in the media.

In 2008, new DNA evidence showed that JonBenet’s killer was an unknown male.

In that same year, the Ramseys and all immediate family, including JonBenet’s brother, Burke, were exonerated by Boulder District Attorney Mary Lacy.

John Ramsey had asked the court to release all of the grand jury report, rather than just the unprosecuted indictment portion released Friday. He argued that a partial release would give a skewed view of the case.

Patsy, who died in 2006, and John always maintained their innocence.

Boulder Police Chief Mark Beckner said the case remains open but not active and said the release of the indictments likely won’t change anything.

“Given the publicity that’s been out there, many people have formed their opinions one way or another,” he said.