A Kamas man in mid-April pleaded guilty to robbing a Park City bank last winter, acknowledging in the plea that he was mentally ill at the time of the robbery.

Cody McCormick, who is 28 years old, is scheduled to be sentenced by Third District Court Judge L.A. Dever on June 20. The Summit County Jail is holding him while he awaits sentencing.

The acknowledgement in the plea is a rarity in cases stemming from criminal activity in Park City.

Joy Natale, the Summit County prosecutor who handled the case, said McCormick will be evaluated by two psychiatrists prior to the sentencing, one selected by the prosecution and the other picked by the public defender representing McCormick.

During sentencing, the judge will have the option of a standard sentence for someone guilty of a first-degree felony — five years to life in state prison and a $10,000 fine.

In McCormick’s case, because it involves an acknowledgement of mental illness, the judge also has the option of committing him to the Utah State Hospital, which serves the mentally ill. If that occurs, he could be sent to prison after his time in the hospital or be released but put on probation at that point.

Natale will craft a sentencing recommendation for Dever to consider. She had not started to do so by the middle of the week.

McCormick robbed the Key Bank branch on Snow Creek Drive in the middle of the afternoon on Feb. 25, handing a teller an envelope with a note demanding that the teller fill the envelope with “big bills” or he would pull out a knife, according to a charging document. The teller put approximately $3,600 in $100 bills inside the envelope and gave it to McCormick, the charging document said.

He fled but was captured approximately three hours later after an area law enforcement officer recognized McCormick from an image taken by a surveillance camera at the bank.

McCormick admitted he robbed the bank during questioning and told the police he had a steak knife hidden in his sleeve while he was in the bank, the charging document said.

The authorities found the money that was stolen, a steak knife and the envelope in McCormick’s vehicle.

Natale said the evidence gave the prosecutors a strong case against McCormick.

Paul Quinlan, McCormick’s public defender, said McCormick has battled mental illness throughout his life.

“It’s in his best interest to receive treatment,” Quinlan said.