2 At that time the army of the king of Babylon was blockading Jerusalem. The prophet Jeremiah was locked up in the courtyard of the prison. This prison was in the palace of the king of Judah.