CRESTVIEW — A woman who had just been sentenced to prison Thursday escaped from the Okaloosa County Courthouse for a short time before she was captured.

Elizabeth Hallford, 34, of Crestview, had been sentenced to five years in prison for elderly exploitation and possession of a controlled substance, according to the Okaloosa County Sheriff's Office. After her sentencing she was placed in a secure hallway next to the courtroom to wait to be taken to the county jail.

Hallford found an unsecured door and left the courthouse, a press release from the Sheriff's Office said. She was caught about two blocks away minutes later.

The Sheriff's Office is reviewing why the door's latch was not closed properly, the press release said.