Wilhelm II (27 January 1859 – 4 June 1941) was the last German emperor and king of Prussia, ruling both the German empire and the kingdom of Prussia from 15 June 1888 to 18 November 1918.