Wilhelm was a junior member of the royal family of Württemberg. He was a nephew of King Frederick (d. 1816), and was a first cousin of King William I of Württemberg (ruled 1816–1864).
Public life
Wilhelm was raised in the mentally stimulating parental home. From 1819 to 1823, William and his elder brother Alexander, who later became famous as a poet, stayed at the Fellenberg'sche Hofwyl Institute in Bern. Wilhelm returned to Stuttgart and was appointed Captain in the mounted artillery at the age of 18. In 1835, he was promoted to Major, and in 1837 to Colonel and commander of the artillery. In 1841, he was promoted to Major General and put in charge of an infantry brigade.
In 1848 Württemberg contributed a field brigade to the combined division of the southern German states that marched into the First Schleswig War. The division was led by Lieutenant General Moriz von Miller; Wilhelm assumed command of the Württemberg brigade. After the Treaty of Malmö, the brigade was stationed at Altona and did not see any real action. Most of the brigade, including Wilhelm was then moved to Upper Baden, leaving on battalion in Schleswig. The brigade did observation work in Upper Baden, especially in the Constance district, but did not engage in any fighting.
Wilhelm was promoted to Lieutenant General in 1855. In 1857, he was appointed governor of Ulm. In 1841 he converted to Roman Catholicism to enable his first marriage to Théodolinde de Beauharnais. In 1867, he was promoted to General of the Infantry. On 28 May 1867, he was raised to Duke of Urach (Herzog von Urach), while retaining the dignity of Count of Württemberg.
Duke William's favorite weapon was the artillery. He was regarded as an outstanding mathematician and an officer of his weapon and made some inventions, especially with regards to the mounting of the guns. He tried to dampen the recoil of the gun by suspending the gun carriage in a movable frame. His very active and universally educated mind did not find enough activity in the military during the long period of peace.
Historian
He was keenly interested in the arts and sciences, and in particular in art history and archeology. He made study trips and co-founded the württembergischen Altertumsverein (Württemberg Society for Ancient History) in 1843 and the Verein für vaterländische Naturkunde (Association for National Natural history) in 1844 and continued to support these. He also acted repeatedly as president of the overall association of German societies of Ancient History. His taste for art showed in 1840 and 1841, when he constructed Lichtenstein Castle on the spot of the by then completely ruined ancient castle made famous by Wilhelm Hauff's novel Lichtenstein. He moved a significant number of Renaissance style sculptures from the Neues Lusthaus in Stuttgart to Lichtenstein Castle when the Lusthaus was to be demolished in 1844, to make room for the Royal Court Theater. He was an honorary member of several scientific associations and learned societies, such as the Bavarian Academy of Sciences.
Academia and literature
In 1845, he received an honorary PhD from the philosophy department of the University of Tübingen, in recognition of his scientific endeavour. Among his literary works were Wegweiser durch sämtliche Malerschulen und Gemäldesammlungen von W. W. ("Guide to all schools of painting and art collections by W.W.") and Graphisch-archäologische Vergleichungen ("Graphical-archaeological comparisons") and the meteorological Aufklärende Worte über Wetterprophezeihung von W. W. ("Clarifying words about the prediction of the weather, by W.W."). His Politische Skizzen über Deutschland und Württemberg aus der Mappe eines Conservativen ("Political Sketches of Germany and Württemberg from the folder of a conservative") appeared anonymously in 1852.
In 1869 Duke Wilhelm suffered a stroke. He went to Bad Wildbad in the Black Forest in the hope that he might be healed by the southern climate. However, this was in vain. He died in 1869 at his Lichtenstein castle, from another stroke.