So Jeremiah remained confined in the courtyard of the guardhouse until the day Jerusalem was captured.The following events occurred when Jerusalem was captured.