PITTSBURGH (KDKA)– An ex-Allegheny County Detective has pleaded guilty to the overdose of a teen.

Our partners at the Pittsburgh Post-Gazette say Daniel Bondi pleaded guilty to endangering the welfare of children after his 15-year-old niece overdosed in his home on July 27, 2017.

READ MORE: 40th Street Bridge Lane Restrictions Go Into Place This Week

Authorities found Isabelle Bondi in Daniel’s Beechview home with a syringe and a stamp bag that matched the ones found in his bedroom.

Bondi worked for the Allegheny County Police Department from 2006 to 2012.

READ MORE: Dozens Of Women Gather On North Shore For 'Black Maternal Health Week' Photoshoot

Sources say he had bought fentanyl for personal use and shared it with relatives.

According to Senior Deputy Attorney General Katherine Jordan, “He was in a position where he violated a duty of care,” Ms. Jordan told the Post-Gazette.

Bondi took a plea deal and will spend up to two years in the state prison with an additional five-year probation.

MORE NEWS: Local Providers Committed To Distributing Johnson And Johnson Vaccine Despite Reports Of Shortages

He will be sentenced on February 4, 2020, before Allegheny County Common Pleas Judge Alexander P. Bicket.