The Republican Party's popularity after the victory in the Spanish–American War led Weaver, for the first time, to doubt that populist values would eventually prevail. With the demise of the Populist Party, Weaver became a Democrat and was a delegate to the 1904 Democratic National Convention. He was displeased at the party's nominee, Alton B. Parker, whom he thought "plutocratic", but Weaver supported his unsuccessful campaign nevertheless. He gave serious consideration to running for the House again that year, but decided against it. In 1908, he supported Bryan's third campaign as the Democratic nominee for president, but it, too, was unsuccessful.