This time he was more successful and gained 8.5 percent of the vote, but still fell far short of victory. The Populists merged with the Democrats by the end of the 19th century, and Weaver went with them, promoting the candidacy of William Jennings Bryan for president in 1896, 1900, and 1908. After serving as mayor of his home town, Colfax, Iowa, Weaver retired from his pursuit of elected office.