 The Württembergs became counts in the 12th century.In 1250, the House of Hohenstaufen's reign over the Duchy of Swabia ended; this allowed the Württembergs to expand their territory to include the duchy.Stuttgart (which later became the capital) was included within the county as a result of the marriage between Ulrich I and Mechthild of Baden in 1251.