Cody Robert Judy pleaded guilty Wednesday in 4th District Court to threatening an LDS Church leader with a fake bomb at a fireside in February at Brigham Young University.

In a plea agreement with Utah County prosecutors, Judy, 27, entered guilty pleas to one count of aggravated burglary, a first-degree felony; one count of assault, a third-degree felony; and one count of escape, a class B misdemeanor. Prosecutors dismissed one count of aggravated kidnapping and two counts of assault.Judy admitted Wednesday that he threatened Howard W. Hunter, president of the Council of the Twelve of The Church of Jesus Christ of Latter-day Saints, with a fake bomb Feb. 7 at a fireside at BYU's Marriott Center. He admitted walking on the stage and telling everyone he would detonate the bomb if they did not leave. Shortly after taking the stage, Judy was tackled by members of the audience and a couple of security guards.

Judy also admitted Wednesday to jumping from a third-story window at the Utah State Hospital on March 23 and eluding officers for three days before turning himself in at a Salt Lake television station.

Judge Guy R. Burningham will sentence Judy on June 30. He could receive a term of five years to life on the aggravated burglary charge, but his attorneys filed a motion asking that he be sentenced for a second-degree felony, which carries a possible term of one to 15 years in prison. Judy remains in the Utah County Jail without bail while awaiting sentencing.

Following his arrest in February, Judy claimed God wants him to be the next prophet of the LDS Church. He said he received visions from God that predicted mass destruction, reinstitution of plural marriage and changes in the "Word of Wisdom," a health code followed by Mormons. He also claims God ordered him to plead guilty and that God will deliver him from jail.

Last month, 4th District Judge Boyd L. Park ruled that Judy is mentally competent to stand trial after three doctors testified that the self-proclaimed prophet suffers from delusional disorder but still has a "rational" and "factual" understanding of the charges against him.

Judy's attorneys say they still believe their client is incompetent and that the state's mental health system does not adequately address his problems. They don't believe Judy will get the care he needs if he is sent to prison.