“I accept full responsibility for all of my actions,” the disgraced officer said while choking back tears. “I apologize to the government and to the NYPD. I ask you to be lenient. I embarrassed my whole family, my friends, and the NYPD — the department I wanted to be a part of my whole life.”

His head bowed, Daniels argued that he was currently enrolled at John Jay College and promised not to run afoul of the law again.

Amon rejected his request as she highlighted the severity of his betrayal of the badge and the need to send a message.

“These are very serious circumstances,” she said before handing down her sentence. “He violated a sacred trust not only to the public but to his fellow police officers.”

Daniels seemed stunned by the sentence as he left court.

The former Queens cop’s family — including his wife and young children — prayed and wept in the court gallery during the proceeding.

“He transformed a confidential police database into a personal electronic reference library for a drug dealer,” said prosecutor Brendan King.

He blasted Daniels for failing to properly accept responsibility for his crimes.

Daniels argued that he was only running license plate checks on a car that was blocking Curtis’ driveway and that he ran his warrant status because the drug dealer wanted to apply for a legitimate job.

But he was caught on wiretaps freely collaborating with Curtis who at one point asked him how to remove gun residue from his hands, court papers show.

The disgraced officer from the 111th Precinct in Queens resigned from the force last May after pleading guilty to the charges against him.

Daniels also provided Curtis with an official NYPD parking placard, prosecutors said.