In the twelfth year of the reign of King Ahaz of Judah, Hoshea son of Elah became king of Israel, and he ruled in Samaria for nine years.
He sinned against the Lord, but not as much as the kings who had ruled Israel before him.
Emperor Shalmaneser of Assyria made war against him; Hoshea surrendered to Shalmaneser and paid him tribute every year.
But one year Hoshea sent messengers to So, king of Egypt, asking for his help, and stopped paying the annual tribute to Assyria. When Shalmaneser learned of this, he had Hoshea arrested and put in prison.
References for 2 Kings 17:4
Then Shalmaneser invaded Israel and besieged Samaria. In the third year of the siege,
which was the ninth year of the reign of Hoshea, the Assyrian emperor captured Samaria, took the Israelites to Assyria as prisoners, and settled some of them in the city of Halah, some near the Habor River in the district of Gozan and some in the cities of Media.
References for 2 Kings 17:6