BOZEMAN, Mont. (AP) — A 43-year-old Bozeman man with no previous criminal record has been sentenced to 10 years in prison for breaking into a house while intoxicated and raping a woman.

The Bozeman Daily Chronicle reports that when Andrew Lee Lincks entered his guilty pleas to rape and robbery, he told the court he did not remember the crime.

Deputy Gallatin County Attorney Ashley Whipple said counselors can't figure out why Lincks committed the crime and that Lincks doesn't understand either.

Lincks was arrested in the victim's house on Feb. 22, 2011, after her roommate called police. The victim said Lincks demanded money from her, raped her and told her to be quiet or he would kill her.

District Judge John Brown sentenced Lincks on Wednesday, giving him credit for 462 days served.