Jehoiachin, the son of Jehoiakim, became king at eighteen in 597 BC. The Babylonians attacked Jerusalem because his father rebelled against Nebuchadnezzar. After just three months as king, Jehoiachin wisely surrendered and was taken captive to Babylon (2 Kings 24:8–14), along with most of the royal family.