Despite lingering uncertainty over the U.S. election, the country’s ultra-rich already have plenty to celebrate.

Tech billionaires in Silicon Valley saw a hotly contested ballot question on the employment status of gig workers pass in their favor, while an Illinois measure to swap the state’s flat income tax with a graduated system went down in defeat after Citadel’s Ken Griffin spent millions to oppose it.

Across the board, the 167 U.S. billionaires gained US$57.4 billion on Wednesday as investors bid up stocks, sending major averages to the biggest rallies in five months. Inc.’s Jeff Bezos led the way with a US$10.5 billion gain, while Facebook Inc’s Mark Zuckerberg added US$8.1 billion.

The victories cap four years of robust gains for the country’s wealthiest people. During President Donald Trump’s first term, the richest U.S. residents added both wealth and stature thanks to surging equities markets and a raft of tax cuts. The net worth of Americans on the Bloomberg Billionaires Index went from less than US$1.8 trillion on election night in 2016 to more than US$2.8 trillion in late October.

Prop 22

The big tech win was the passage of Proposition 22 in California, a ballot measure to exempt Uber Technologies Inc., Lyft Inc. and DoorDash Inc. from a state law requiring them to classify most of their workers as employees. The win sent Uber and Lyft shares soaring in New York trading, giving a boost to the fortunes of some of its largest shareholders.

Garrett Camp, co-founder of Uber and the only executive of either ride-sharing firm on the Bloomberg index of the world’s 500 richest people, saw his fortune climb almost US$350 million to US$3.4 billion.

The ride-hailing and food-delivery companies backing the measure poured a record US$200 million into the campaign. That spending will likely pay off for many of the companies as Uber and Lyft alone will save more than US$100 million annually on employment costs, according to one estimate.

In Illinois, Griffin sunk US$54 million in a campaign opposing the tax change, while billionaire Governor J.B. Pritzker, a Democrat and Hyatt hotels heir, spent more than US$56 million supporting its passage. The measure was rejected by 55 per cent of voters.

 “The citizens of Illinois have delivered a clear message to our political leaders in Springfield,” Griffin, whose trading and asset-management firm is based in Chicago, said in an emailed statement. “Now is the time to enact long-overdue reforms to save our state from fiscal ruin.”

Senate Control

The election also dealt a win to some of the country’s wealthiest as Republicans picked up seats in the House of Representatives and maintained their control of the Senate. Those majorities could thwart efforts by a potential Joe Biden administration to pass measures targeting the highest earners, such as tax hikes or changes in estate tax laws.

Despite Wednesday’s big gains, not everything came up aces for Zuckerberg on election night, including a California ballot measure that would have allowed taxes to be raised on commercial properties with much of the money earmarked for education. Zuckerberg and his wife Priscilla Chan spent millions trying to get Proposition 15 passed, but as of Wednesday afternoon, support for the measure was lagging with about three-quarters of the ballots counted.

Still, the billionaire with most at stake in the election is probably Trump, whose path to a second term now hinges on the battleground states of Nevada, Pennsylvania and Arizona.