Jewish Publication Society of America Version (JPS1917) - Jeremiah 38:28 >

So Jeremiah abode in the court of the guard until the day that Jerusalem was taken. And it came to pass, when Jerusalem was taken —

King James Version (KJV) - Jeremiah 38:28 >

So Jeremiah abode in the court of the prison until the day that Jerusalem was taken: and he was [there] when Jerusalem was taken.

Berean Study Bible (BSB) - Jeremiah 38:28 >

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