Multiple NYPD officials have been arrested in connection with a gambling and prostitution ring, authorities said on Wednesday.

The arrests follow a three-year investigation conducted by the Internal Affairs Bureau, following a tip from another member of the NYPD, according to a police spokesperson.

Police sources told the Daily News that the investigation involves "hundreds of hours of surveillance and multiple (wiretaps)." At least some of the officers are believed to have provided protection for the prostitution and gambling ring.

"Today, those who swore an oath and then betrayed it have felt the consequences of that infidelity," Police Commissioner James O'Neill said in a statement. "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."

A total of seven police officers were arrested—three sergeants, two detectives and two officers—along with half a dozen other civilians. It's unclear what precinct the NYPD employees worked in.

The Queens District Attorney’s Office is handling the case. Further information—including what charges the NYPD members will face—has not yet been released. We'll update when it becomes available.