When the Babylonian king Nebuchadnezzar conquered Jerusalem, he killed or exiled most of its inhabitants and appointed Gedaliah, son of Achikam, as governor of the now-Babylonian province of Judah.
However, Baalis, king of Ammon, was hostile and envious of the Judean remnant and sent a Judean, Yishmael Ben Netaniah, who was descended from the royal family of Judea, to assassinate Gedaliah.