Jeremiah 38:6
38:6 So the officials took Jeremiah and put him in the cistern of Malkijah, one of the royal princes, that was in the courtyard of the guardhouse. There was no water in the cistern, only mud. So when they lowered Jeremiah into the cistern with ropes he sank in the mud.
Jeremiah 38:28
38:28 So Jeremiah remained confined in the courtyard of the guardhouse until the day Jerusalem was captured.The Fall of Jerusalem and Its Aftermath
The following events occurred when Jerusalem was captured.