Jeremiah remained in the courtyard of the guard until the day Jerusalem was captured.