NEW YORK (AP) — A federal judge sentenced a former police officer to 13 years in prison for plotting to kill a detective and using his gun and badge to rob drug dealers.

Judge Frederic Block sentenced Jamil Jordan on Monday to the maximum penalty allowed under a plea agreement Jordan reached with federal prosecutors.

"I'm disgraced. I can't blame anyone but myself," a tearful Jordan said. "I ask myself countless times each day 'Why?' The truth is, there's no answer."

Jordan, 28, pleaded guilty in March to charges that he and his partner were involved with a violent robbery gang headed by Jordan's childhood friend. Jordan also admitted he had conspired to kill a detective.