The capital of Saxony-Anhalt is Magdeburg. It is the second-largest city in the state, closely after Halle. From 1994 to 2003, the state was divided into three regions (Regierungsbezirke), Dessau, Halle and Magdeburg, and, below the regional level, 21 districts (Landkreise). Since 2004, however, this system has been replaced by 11 rural districts and three urban districts.[5]