Then the king of Assyria invaded the whole country, and attacked Samaria, besieging it for three years.