ROCKVILLE, Md. — A veteran police officer in Maryland was sentenced Wednesday to probation before judgment for gifting department iPhones to loved ones.

The sentence for Christopher Johnson, 50, means he wasn’t convicted of a crime, news outlets report. Montgomery County Circuit Court Judge Harry Storm sentenced Johnson to 50 hours of community service.

Johnson pleaded guilty in December to misconduct in office. He was forced to retire as a part of the plea, according to news outlets.

The former Montgomery County officer gave a department iPhone to his daughter and two phones to his girlfriend’s children, Johnson’s attorney Andrew Jezic said.

Assistant State’s Attorney Bryan Roslund acknowledged the value of the items is relatively small but said Johnson violated public trust, news outlets reported.

“I’m extremely embarrassed for myself, for my family and friends who now have to think after 29 years, this is how it all ended,” Johnson said in court Wednesday.

Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.