OKLAHOMA CITY - New details on a plea deal between prosecutors and a former Oklahoma City cop.

As News 9 first reported Tuesday Maurice Martinez pleaded guilty to 12 felony counts involving child sex abuse charges.

As part of the deal Martinez was sentenced to two years at the county jail, minus time already served. That means he will likely be out of jail in less than a year.

Since he was first accused over a year and a half ago, Maurice Martinez has maintained his innocence.

"They believe what they want to believe," said Martinez back in January of 2011.

Still Tuesday, Martinez a former Oklahoma City Police Sergeant pled guilty to all counts against him. His attorney wouldn't talk about the agreement,

But the assistant District Attorney on the case says he thinks some justice was done. Especially considering the case they would have had to present in front of a jury next week.

"The case honestly has had problems from the very, very beginning," said Gayland Gieger.

Gieger says the crime scene was compromised, and possible evidence that could have collaborated testimony may have been stolen. In addition key witnesses continued to change their stories.

"All of our victims in this case have given conflicting statements," said Geiger.

Geiger says he believes the victims were pressured to change their statements, and feared for their safety since Martinez was a police officer. But the fact that Martinez will be supervised for 25 years, and have to register for life as a sex offender will give his victims some justice.

"Mr. Martinez we firmly believe was a master manipulator of these young boys," said Geiger.

Martinez also pled guilty to misdemeanor counts of harboring a runaway and conspiracy to obstruct an officer.