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. He can be seen in 1847, sixth from the right in "Reporting to King William I", a painting of William I of Württemberg and his advisers, by the court painterFranz Seraph Stirnbrand. He is talking with Crown Prince Charles, and the King is interviewing Prince Frederick. 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 GeneralMoriz 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 1862 he converted to Roman Catholicism to enable his second marriage to Princess Florestine of Monaco. In 1867, he was promoted to General of the Infantry. On 28 May 1867, he was raised to Duke of 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 in 1843 and the Verein für vaterländische Naturkunde 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. and Graphisch-archäologische Vergleichungen and the meteorological Aufklärende Worte über Wetterprophezeihung von W. W.. His Politische Skizzen über Deutschland und Württemberg aus der Mappe eines Conservativen 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.