So Jeremiah abode in the court of the prison until the day that Jerusalem was taken: and he was there when Jerusalem was taken.
Jeremiah stayed in the prison's courtyard until the day Jerusalem was captured. He was there when it happened.