Babylon's King Nebuchadnezzar put Gedaliah, Ahikam's son and Shaphan's grandson, in charge of the people he had left behind in the land of Judah.
References for 2 Kings 25:22
All the army officers and their soldiers heard that the Babylonian king had appointed Gedaliah as governor, so they came with their men to Gedaliah at Mizpah. The officers were Ishmael, Nethaniah's son; Johanan, Kareah's son; Seraiah, Tanhumeth's son who was a Netophathite; and Jaazaniah, Maacathite's son.
Gedaliah made a solemn pledge to them and their soldiers, telling them, "Don't be afraid of the Chaldean officials. Stay in the land and serve the Babylonian king, and things will go well for you."
But in the seventh month, Ishmael, Nethaniah's son and Elishama's grandson, who was from the royal family, came with ten soldiers, and they struck Gedaliah, and he died. They also killed the Judeans and the Chaldeans who were with him at Mizpah.
Then all the people, young and old, along with the army officers, departed for Egypt because they were afraid of the Chaldeans.