A 25-year-old transgender woman was sentenced Wednesday to more than five years in prison for engaging in sex acts with teenage boys — one of them 13 — she propositioned on streets in north Torrance.

The boys, authorities said, did not know their female partner was biologically male until they were later contacted by detectives conducting a child molestation investigation.

Jane Maria Nicholson, who formerly served on the board of the South Bay LGBT Center, agreed to a plea deal with prosecutors just days before jury selection was expected to begin for her trial in Torrance Superior Court.

Last week, facing up to 12 years in prison, Nicholson had rejected a deal to serve four years behind bars for crimes involving four boys in exchange for a no-contest or guilty plea in court. Nicholson reconsidered Wednesday when she learned Torrance police had this week identified a fifth victim — a 14-year-old Lawndale boy who allegedly had received oral sex.

On Wednesday, with prosecutors prepared to file two more charges against her, the deal was raised to five years, four months in prison. Nicholson, a Torrance resident, accepted.

The charges stemmed from encounters that occurred from June to October 2014, and November 2015, when Nicholson randomly rode up to boys hanging out outdoors near 182nd Street and Crenshaw Boulevard, identified herself as a woman and offered sexual acts, authorities said.

Police initially identified four boys — a 17-year-old from Los Angeles, a 16-year-old from Redondo Beach and two 13-year-olds from Redondo Beach and Gardena — as victims. According to the allegations, Nicholson performed oral sex on one of the younger boys, and engaged in anal intercourse behind a building with the 16-year-old. The two other boys were propositioned.

Police opened a child molestation investigation when a Torrance resident contacted officers to report that a family member had been solicited. According to prosecutors, one of the boys also had been told by a friend that his female sexual partner was actually male.

Torrance police arrested Nicholson on Dec. 1, 2015.

On Wednesday, Nicholson entered four no-contest pleas to felony counts of lewd acts upon a child under 14, oral copulation of a person under 18, and sodomy involving a person under 18, and a misdemeanor count of child molesting. Prosecutors dismissed a second felony oral copulation count, and another count of child molesting.

No-contest pleas have the same legal weight as guilty pleas.

Nicholson must register as a sex offender when she is released on parole, and must have no contact with any of the four boys.

Deputy District Attorney Hyunah Suh said the District Attorney’s Office will not file the charges involving the fifth identified victim, but any more cases that arise could result in more court action.

In a Torrance CitiCable video news feature posted on YouTube in September 2015, Nicholson said she was happy with her role helping gay, lesbian and transgender people at the South Bay LGBT center at 16610 Crenshaw Blvd.

The report said Nicholson was in a four-year transition from male to female after figuring out she was not a gay man, but a transgender woman.

She became emotional when talking about transgender people becoming open about themselves.

“We have gay marriage legal and it’s time,” she said. “It’s time to break this closet. It’s time to be ourselves and not worry.”

Nicholson’s name remains listed as a board member on the LGBT Center’s website. But Alphonzo Hicks, the center’s president, said she is no longer affiliated with the center.

“We are not commenting on anything to do with Jane,” Hicks said. “She is no longer a board member at the center.”