In backing Roy Moore in Alabama's U.S. Senate race even though the candidate faced allegations of sexual misconduct with teenage girls, President Donald Trump made a risky bet — and lost big.

The victory by Democrat Doug Jones over the Republican Moore in the Alabama special election on Tuesday was a catastrophe for Trump, portending a Democratic wave next year that could cost Republicans control of one or both houses of Congress.

The stakes in Alabama were that high. Democrats already were confident they had a strong chance to retake the U.S. House of Representatives in next year's congressional elections. Jones' narrow victory increases their once-long odds of retaking control of the Senate as well.