KANSAS CITY, Kan. (AP) — A former cook at an eastern Kansas detention facility has been sentenced to two years in federal prison for not reporting that an inmate with whom she had an intimate relationship had escaped.

U.S. Attorney Barry Grissom’s office says 34-year-old Jessica Wilmer-Davis pleaded guilty in April and was sentenced Thursday on one count of misprision, or failing to report a federal crime.

In her plea agreement Wilmer-Davis acknowledged getting involved in a romantic relationship with inmate Joshua Spurgeon in November at Grossman Center in Leavenworth, where she was a contract cook.

She also admitted knowing that he left the detention center without permission on Dec. 9 to avoid an upcoming drug test, and that she saw him on Dec. 11 after he had escaped.

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