During Jehoiakim's reign, King Nebuchadnezzar of Babylon attacked. Jehoiakim became his vassal for three years, and then he turned and rebelled against him.