OKLAHOMA CITY — A former police officer convicted of raping and sexually victimizing women while on his beat in a low-income Oklahoma City neighborhood was ordered Thursday to spend the rest of his life in prison.

Jurors had recommended that Daniel Holtzclaw be sentenced to 263 years in prison for preying on women in 2013 and 2014. District Judge Timothy Henderson agreed, said Holtzclaw will serve the terms consecutively and denied his request for an appeal bond.

Holtzclaw waived his right to remain in custody in the county jail for 10 days, instead opting to be taken directly to prison. Defense attorney Scott Adams said Holtzclaw will appeal.

“It is what it is,” Adams said. “It wasn’t a surprise.”

Oklahoma County District Attorney David Prater had strong words for Holtzclaw, who was convicted last month on 18 counts, including four first-degree rape counts as well as forcible oral sodomy, sexual battery, procuring lewd exhibition and second-degree rape. Holtzclaw was acquitted on 18 other counts.

“I think people need to realize that this is not a law-enforcement officer that committed these crimes. This is a rapist who masqueraded as a law-enforcement officer,” Prater said after the sentencing. “If he was a true law enforcement officer, he would have upheld his duty to protect those citizens rather than victimize them.”

The Associated Press highlighted Holtzclaw’s case in a yearlong examination of sexual misconduct by law officers, which found that about 1,000 officers in the United States lost their licenses for sex crimes or other sexual misconduct over a six-year period.

Those figures are likely an undercount, because not every state has a process to ban problem officers from law enforcement.