A man who raped a St. Paul homeowner he had burglarized twice earlier was sentenced Tuesday to 25-1/2 years in prison.

The victim told police that Curtez Deshawn Graham, now 18, was angry with her when he returned the third time to her Portland Avenue home in St. Paul, telling her, “B___, you sent me to prison for 14 months,” according to an affidavit filed with a search warrant on the case.

Graham was sentenced to Boys Totem Town after he was convicted of the first two burglaries, which occurred in 2011. After absconding from that facility, he was sent to the juvenile correctional facility in Red Wing, but he removed his ankle bracelet during a work furlough in St. Paul.

Early on June 19, Graham broke out a window and entered the victim’s home. The homeowner and her male companion, asleep on the third floor, were awakened by Graham as he stood naked in the bedroom.

He threatened to kill them with a pair of scissors unless they did what he wanted. He told the man to tie himself up and he raped the woman, then ordered her to take a shower and wash between her legs.

Graham, of St. Paul, pleaded guilty Sept. 30 to first-degree criminal sexual conduct, first-degree burglary and kidnapping.

“We seldom see crimes as completely inhumane as this,” prosecutor C. Ryan Tennison said in court Tuesday. “This man raped the victim in her home in front of her loved one. … (He) earned every day of this lengthy prison sentence.”

Defense attorney Murad Mohammad said that Graham never minimized or deflected his behavior.

“He knows he robbed the victims of their confidence, privacy and safety. Curtez knows he has many years now to reflect on what he did, and to come out as a member of society, rather than a scourge.”

Emily Gurnon can be reached at 651-228-5522. Follow her at twitter.com/emilygurnon.