Anhalt was a sovereign county (after 1806 duchy) in Germany, located between the Harz Mountains and the river Elbe in Middle Germany. It now forms part of the state of Saxony-Anhalt.
During the 9th century, the area was part of the Duchy of Saxony. In the 12th century, it came under the rule of Esico (died 1059 or 1060). His son was Adalbert II (died 1080) and his grandson Otto the Rich appears to have been the first to assume the title of count of Anhalt. Otto, also known as count of Ballenstedt, was the father of Albert the Bear, count of Anhalt, who conquered the Slavic territory of Brandenburg. When Albert died in 1170, his son Bernhard, who received the title of duke of Saxony in 1180, became count of Anhalt. Bernhard died in 1212, and Anhalt, now separated from Saxony, passed to his son Henry I, who in 1218 took the title of prince and was the real founder of the princely house of Anhalt. Henry I is included among the Minnesingers of Codex Manesse.
On Henry's death in 1252, his three sons partitioned the principality and founded, respectively, the lines of Aschersleben, Bernburg and Zerbst. The family ruling in Aschersleben became extinct in 1315, and this district was subsequently incorporated in the neighboring Bishopric of Halberstadt, thus dividing the territory of Anhalt-Bernburg in two separate pieces. The last prince of the original line of Anhalt-Bernburg died in 1468 and his lands were inherited by the princes of the sole remaining line, that of Anhalt-Zerbst. The territory belonging to this branch of the family had been divided in 1396, and after the acquisition of Bernburg Prince George I made a further partition of Zerbst (Zerbst and Dessau). Early in the 16th century, however, owing to the death or abdication of several princes, the family had become narrowed down to the two branches of Anhalt-Köthen and Anhalt-Dessau (issued both from Anhalt-Dessau in 1471).