Democratic Attorney General Eric Schneiderman was endorsed Monday by a pair of law-enforcement unions.

Schneiderman, who is seeking a second term, received the nod from both the New York State Association of PBAs and the PBA of the City of New York.

The endorsements follow a TV ad from the AG’s campaign that highlight his office’s drug-enforcement efforts, playing up the criminal justice aspects of the post as he faces Republican John Cahill.

“Eric Schneiderman has consistently fought for the tools our members need to do their jobs safely and effectively,” said New York State Association of PBAs President Michael Palladino. “His Criminal Justice Bureau has stifled the spread of heroin and illegal guns, and his inVEST Partnership is securing hundreds of bulletproof vests for police departments in need. Eric Schneiderman knows how protect New York’s citizens as well as its officers.”

PBA of New York City President Patrick Lynch, meanwhile, praised Schneiderman in an endorsement letter for “proven track record and commitment to law enforcement.”

“I’m proud to have worked side by side with the members of the New York State Association of PBAs and the PBA of New York City over the last three and a half years, and I’m honored to have their endorsement today,” Schneiderman said in a statement. “Together we’ll continue the fight to keep the public and our men and women in uniform safe, and ensure equal justice for all New Yorkers.”

Cahill, meanwhile, seized on a report in The New York Post today that quoted gadfly, activist and comedian Randy Credico, who alleges Schneiderman used cocaine in the mid-2000s at a since-defunct New York City night club. The Schneiderman campaign has called the allegations “laughable.”