City taxpayers will shell out almost $1.25 million because a horny NYPD lieutenant routinely groped and openly flashed his penis to ​three female underling​s at a Bronx ​police ​precinct, then retaliated against them after they refused his crude come-ons.

The 44th Precinct cops – Maria Lampley and Claudia Melara, both 35, and Dawn Sprague, 43 – c​harged in a Manhattan federal court suit filed last year that NYPD Lt. Alexander Rojas would even routinely show them “videos of him engaged in masturbation and other sexual acts” despite their repeated cries for him to cut it out.

Rojas will pay just $12,500 to settle the case against him, while the city will shoulder the rest of the payout over his ​inability to keep his pants zipped.

Lampley and Sprague will each collect $308,750 while Melara, who worked under Rojas for less time, will get $200,000. The balance of the settlement will go to attorney fees.

“Our clients are grateful that their ordeal is over and ​​they are pleased with the settlement of their suit. However, a settlement does not erase the trauma of physical and psychological abuse they endured. We urge Commissioner [Bill] Bratton and the NYPD to do more to protect its women officers from sexual harassment,” the female cops’ lawyers, Kevin Mintzer and Mariann Meier Wang, said in a statement.

The female cops also bashed the NYPD for letting Rojas stay in his supervisory position at the 44th Precinct for over six months after their suit was filed, the statement says.

“This was unacceptable and demonstrates that the Department does not take sexual harassment seriously,” the statement says.

Rojas retired last month, a source said.

“The NYPD pursued disciplinary action against the officer in this case. The NYPD has strict policies prohibiting sexual harassment,” a police spokesman said.

“Settlement was in the city’s best interest,” a city Law Department spokesman said.

The Manhattan federal court lawsuit describes Rojas’ disgusting alleged behavior.

For instance, Rojas began repeatedly inappropriately touching and making lewd comments to Spague in 2012 after she came back from maternity leave, the suit says.

In January, he also allegedly grabbed her breasts at work in front of her two-year-old son and months earlier exposed his penis and asked her to “touch it.”

The women say he “retaliated” against them for refusing his sexual advances by giving undesirable shifts, duties and other grief.

The women declined to comment because they still work for the NYPD, their lawyer said.