The last King of Württemberg, William II, was forced to abdicate due to the political and social upheaval caused by World War I and the German Revolution of 1918.