On the twenty-seventh day of the twelfth month of the thirty-seventh year of the exile of Judah's King Jehoiachin, Evil-merodach king of Babylon, in the year he became king, pardoned King Jehoiachin of Judah [and released him] from prison.
References for 2 Kings 25:27
He spoke kindly to him and set his throne over the thrones of the kings who were with him in Babylon.
So Jehoiachin changed his prison clothes, and he dined regularly in the presence of the king of Babylon for the rest of his life.
As for his allowance, a regular allowance was given to him by the king, a portion for each day, for the rest of his life.
References for 2 Kings 25:30