The kings that were with him - Probably captive kings, like Jehoiachin himself. Compare Judges 1:7.
Matthew Henry
Concise Bible Commentary
The king of Babylon appointed Gedaliah to be the governor and protector of the Jews left their land. But the things of their peace were so hidden from their eyes, that they knew not when they were well off. Ishmael basely slew him and all his friends, and, against the counsel of Jeremiah, the rest went to Egypt. Thus was a full end made of them by their own folly and disobedience; see Jeremiah chap. 40 to 45. Jehoiachin was released out of prison, where he had been kept 37 years. Let none say that they shall never see good again, because they have long seen little but evil: the most miserable know not what turn Providence may yet give to their affairs, nor what comforts they are reserved for, according to the days wherein they have been afflicted. Even in this world the Saviour brings a release from bondage to the distressed sinner who seeks him, bestowing foretastes of the pleasures which are at his right hand for evermore. Sin alone can hurt us; Jesus alone can do good to sinners.
SDA Bible Commentary (limited)
Volume 1-7
28. Above the throne. He gave him precedence over other captive kings who were also in Babylon.