Nancy Gonzalez, a corrections officer at the federal Metropolitan Detention Center in Sunset Park, Brooklyn, was arrested this morning at her home in Huntington, N.Y., on charges that she allegedly carried on a sexual relationship with a man convicted of killing two NYPD detectives.

She is charged with engaging in sexual relations with an inmate and she is scheduled to be arraigned later this afternoon in Brooklyn federal court, according to court papers.

Gonzalez, 29, is accused of having what is described as inappropriate relationship sex with Ronell Wilson, who was convicted of the 2003 capital murder of two undercover NYPD detectives in a point-blank execution in Staten Island.

Gonzalez is now eight months pregnant with a baby, possibly from the relationship with Wilson, according to officials.

At least three other inmates knew about the relationship, and told authorities Gonzalez had inappropriate relations in both the cell and a vacant room next to the inmate's cell.

Gonzalez is qouted in court papers as tellling one of the inmates that she could "get 15 years for this."

Further investigation revealed an inappropriate relationship with another inmate, currently in a New York State prison but previously at the federal Metropolitan Detention Center, according to the court documents. That inmate told his mother on a recorded conversation that Gonzalez is pregnant with another man's baby.

Gonzales will have an initial appearance this afternoon in US District court in Brooklyn before Magistrate Judge Ramon E. Reyes.

She faces a statutory maximum of 15 years in prison if convicted.

According to the court papers, Gonzalez told the second inmate about the relationship. She described Wilson without naming him, "a light skinned black guy" from Staten Island who has been in jail for "about ten years."

"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 asked the second inmate if he knew Wilson's name, and the second inmate said his first name starts with "R."

"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."

Gonzalez also took a call from Wilson's mother – they talked about possibly meeting to exchange a letter and view a sonogram of the baby. Gonzalez realized she would have no explanation for the conversation, and asked the other inmate how to explain it away.

The second inmate said, "how they got your number is a tough one, but if the conversations are quick and simple … if it was only one or two conversations you could say this lady got my number somehow" and then make up some "bull----" but acknowledged that if there were a lot of conversations, it would be hard "to get around."