In the 1870s, using the Dual Monarchy of Austria-Hungary as a model, the Prince of Wales (later King Edward VII) and William Ewart Gladstone proposed that Ireland and Great Britain form a dual monarchy. Their efforts were unsuccessful, but the idea was later used in 1904 by Arthur Griffith in his seminal work, "The Resurrection of Hungary". Griffith noted how in 1867 Hungary went from being part of the Austrian Empire to a separate co-equal kingdom in Austria-Hungary. Though not a monarchist himself, Griffith advocated such an approach for the Anglo-Irish relationship. The idea was not embraced by other Irish political leaders, and Ireland eventually fought a war of independence (1919–1921) to leave the Union of Great Britain and Ireland.