At that time the army of the king of Babylon was besieging Jerusalem, while Jeremiah the prophet was confined to the court of the guard, in the house of the king of Judah.