Here, he offers consolation particularly to the two tribes, and especially with regard to Jerusalem, where the seat of the kingdom and of the priesthood was; concerning this, there are two points.
First, he gives the title of the prophecy, in which he speaks of the prison of the prophet: while he was still shut up in the court of the prison, by Zedekiah.
Source: Commentary on Jeremiah