"Today, those who swore an oath and then betrayed it have felt the consequences of that infidelity. The people of this Department are rightly held to the highest standard, and should they fail to meet it, the penalty will be swift and severe," NYPD Commissioner James O'Neill said in a statement.

Detectives Manuel Rodriguez and Rafael Vega were placed on administrative leave for violating police rules, which police did not specify Wednesday, according to The New York Times.

The ring operated brothels and illegal casinos in bars, spas and private homes along Roosevelt Avenue in Queens and Sunset Park in Brooklyn, police said.

In addition to the police suspected of involvement in the ring, more than 40 civilians were arrested or are wanted for arrest, including the former detective and his wife, as well as several suspected prostitutes.