A Brooklyn-based female corrections officer has been charged with having sexual relations with an of an inmate who killed two undercover officers. New York Magazine reported that for more than four months, Nancy Gonzales who is now eight months pregnant, had sexual relations with inmate Ronell Wilson who is in jail for killing two undercover police officers in 2003.

Wilson was originally sentenced to death but it was overturned in an appeal and is currently awaiting a retrial for his sentencing.

"I took a chance because I was so vulnerable and wanted to be loved and now I am carrying his child," said Gonzalez,29,  to New York Magazine. "Why not give him a child as far as giving him some kind of hope."

Gonzales was a corrections officer at the federal Metropolitan Detention Center in Sunset Park, Brooklyn.

ABC News reported that at least three other inmates knew about the relationship and said to authorities that they had sexual intercourse in both his cell and in a vacant room next to his cell.

Further investigation revealed that Gonzales had an inappropriate relationship with another inmate as well who is in a New York state prison but was previously at the Metropolitan Detention center.

Gonzales will have an appearance this afternoon at the US District court in Brooklyn and faces a max of 15 years in prison if she is convicted.

"I just basically got wrapped up in something that I should not have got wrapped up...getting myself up with someone that is so high profile that when he farts it makes the news." Gonzalez  said according to ABC News."I can't explain it. I know what's to come. I know what is going to be said about me. I know that for me as a parent, how am I going to explain this to this little boy? Mommy was in the military. Mommy was a C.O. Mommy got wrapped up in ...So how do you explain that."

Wilson murdered detectives Rodney Andrews and James Nemorin during a gun buy and bust.

Some believe the impregnation was done by Wilson to avoid getting the death penalty. "If this was done by design, it's not the actions of a person who is mentally retarded," said Michael Palladino, president of the Detectives Endowment Association to the New York Daily News. "It's a devious plot to avoid the death penalty."