The Israeli government ratified the agreement early on Saturday morning after meeting for more than six hours.