While Jehoiakim was king, King Nebuchadnezzar of Babylonia invaded Judah, and for three years Jehoiakim was forced to submit to his rule; then he rebelled.