After more than a century of slavery, the children of Israel are freed from Egyptian bondage by God using Moses and Aaron. It was only after a series of plagues that Pharaoh Thutmose III finally agreed to give the Hebrew slaves their freedom in 1445 B.C. It is such freedom that allowed the people to eventually form one, and then later two, kingdoms.
After the Exodus the twelve tribes of Israel are made to wander the wilderness for forty years as punishment for the sins they committed after leaving Egypt (Deuteronomy 8:2). Joshua leads a new generation, in 1405 B.C., into the land God promised to Abraham. Seven years later, in 1398 B.C., the land of Canaan is divided by lot among the tribes (Joshua 14).
After taking possession of their God-given inheritance the children of Israel were governed and lead, for select periods in their early history, by individuals known as Judges. The Judges were God's response (usually) to his people crying out to be freed from those He allowed to oppress them because of their sins.
For example, because of their collective sins, God allowed the Midianites to oppress his chosen nation for seven years (Judges 6:1). It was only after the people cried out to God for help that He inspired and used Gideon to free them from Midianite oppression (Judges 6 - 8). After Israel was freed Gideon served as their Judge for forty years (1145 - 1105 B.C.).
Another well-known person God inspired to save his people was Samson. God, in response to the disobedience of Israel and Judah, allowed the Philistines to harass and oppress them for forty years (Judges 13:1) . He then inspired and gave miraculous strength to Samson in order to free the people.
Samson was a Judge for the last twenty years of his life (1085 - 1065 B.C.). The time period of the Judges ran from 1398 to 1050 B.C. (348 years). After the Judges a united Israel had three kings before it split - King Saul, King David and King Solomon.
The two Kingdoms
After Solomon dies his son Rehoboam is set to be the new king. The people, however, make a special request of Rehoboam before they are willing to accept his rule over them. They wanted the heavy taxes they were paying lessened (1Kings 12:1, 3 - 4)!
Part of King Solomon's vast wealth came from heavily taxing the people. After his death, the elders of Israel state they are willing to recognize Solomon's son Rehoboam as their king but only if he lowers their taxes!
King Rehoboam is willing to consider their proposal and seeks advice as to what to do next. Elders who also counseled his father advise him to humbly speak to the people and be kind and fair with them. The young men who grew up with Rehoboam, however, tell him to be even harsher and harder on the people (e.g. raise their taxes even more) than his dad (1Kings 12:1 - 11)!
Rehoboam accepts the counsel of his young friends and harshly tells the people that he rejects their offer and will make their burden heavier than it was in the past.
Jeroboam and most of the people in Israel, upon hearing the king's answer, rebel against him and form a new kingdom. The new nation, known as the Northern Kingdom, is composed of ten tribes. They make Jeroboam their king with Samaria eventually becoming their capital. Three of the tribes, Judah, Benjamin and the priestly tribe of Levi, stay loyal to Rehoboam and form what is known as the Kingdom of Judah. They keep Jerusalem as their capital.
The Kingdom of Israel, or Northern Kingdom, lasts from 930 to 723 B.C. when its capital is conquered by the Assyrian empire. The Kingdom of Judah lasts from 930 to 586 B.C. until it also has its capital conquered by a foreign power (King Nebuchadnezzar of Babylon).