A St. Paul man was sentenced Thursday to 22 years in prison for breaking into a woman’s apartment and raping her.

Jacob M. McKinley, 27, was convicted by jurors in October of first-degree criminal sexual conduct, kidnapping and first-degree burglary for the June 16 incident.

Ramsey County District Judge Jennifer Frisch sentenced McKinley, requiring him to register as a sex offender for the rest of his life. His criminal record includes felony convictions for burglary and interference with the privacy of a child under 18, among others.

“Rape is an atrocious act whose violent nature permanently impacts not only the victim, but our entire community’s sense of safety,” County Attorney John Choi said in a written statement.

The woman testified at trial that she woke about 4 a.m. and saw a shadow walking in front of her bedroom door in St. Paul. She testified that she confronted McKinley and ordered him to leave, but he charged her and pinned her down on the bed.

McKinley, whose friend lived in the same building, took her cellphone, took off her underwear and refused to leave. She bribed him with $46. She tried to flee, but he grabbed her. She bashed his head with a candle to no avail.

McKinley dragged the woman to the living room, where he threatened her with violence when she screamed to get an upstairs neighbor’s attention. He raped her on the couch, ordered her to shower and then left with a bottle of whiskey.

CHAO XIONG