Jeremiah 37:15

37:15 The officials were very angry at Jeremiah. They had him flogged and put in prison in the house of Jonathan, the royal secretary, which they had converted into a place for confining prisoners.

Jeremiah 37:21

37:21 Then King Zedekiah ordered that Jeremiah be committed to the courtyard of the guardhouse. He also ordered that a loaf of bread be given to him every day from the baker’s street until all the bread in the city was gone. So Jeremiah was kept in the courtyard of the guardhouse.