Jeremiah 32:2 CSB

2 At that time, the army of the king of Babylon was besieging Jerusalem, and Jeremiah the prophet was imprisoned in the guard's courtyard in the palace of the king of Judah.