Those rulers were very angry with Jeremiah and beat him. Then they put him in jail in the house of Jonathan the royal secretary, which had been made into a prison.
So King Zedekiah gave orders for Jeremiah to be put under guard in the courtyard of the guard and to be given bread each day from the street of the bakers until there was no more bread in the city. So he stayed under guard in the courtyard of the guard.
They had Jeremiah taken out of the courtyard of the guard. Then they turned him over to Gedaliah son of Ahikam son of Shaphan, who had orders to take Jeremiah back home. So they took him home, and he stayed among the people left in Judah.