SHARE 1 COMMENTMORE

UPPER MARLBORO, Md. (WUSA9) -- A former deputy sheriff has been sentenced for having sex with an inmate, attorneys from Prince George's County said.

Lamar McIntyre, Prince George's County former deputy sheriff, pleaded guilty to one count of sex with an inmate and one count of misconduct. The inmate was waiting to see a judge in July 2012 when McIntyre took her to a holding cell and the two had consensual sex, attorneys said.

McIntyre has been sentenced three years and 18 months probation.