First Kings records Omri purchasing the hill of Samaria from Shemer and building a city there, which he named Samaria after the former owner of the hill.
Samaria became the capital of the northern kingdom under Omri and his successors. Ahab constructed important royal buildings there, and the ministries of Elijah and Elisha repeatedly intersect with events involving the city and its kings.
The Assyrians besieged Samaria during the reign of Hoshea. After the city fell, inhabitants of the northern kingdom were deported and populations from other parts of the Assyrian Empire were settled in the region.
In the New Testament, Jesus traveled through Samaria, and Acts describes the gospel spreading there through the ministry of Philip and later the apostles Peter and John.