He was elected governor of New York in 1898. After Vice President Garret Hobart died in 1899, the New York state party leadership convinced McKinley to accept Roosevelt as his running mate in the 1900 election. Roosevelt campaigned vigorously, and the McKinley–Roosevelt ticket won a landslide victory based on a platform of peace, prosperity, and conservation. A 6-year-old Roosevelt witnessed the funeral procession of Abraham Lincoln from his grandfather's mansion in Union Square, New York City where he was photographed in the window along with his brother Elliott, as confirmed by wife Edith who was also present.