As of February 2020, more than 1000 individuals had registered to run for president in the 2020 U.S. presidential election, though you've probably only ever heard a fraction of their names. But as Election Day looms closer, and the state primaries continue to decide the frontrunners, more of the most visible candidates will officially bow out of the election. So what happens to all the leftover campaign funds when a candidate drops out?

One thing's for sure: Upset candidates can't console themselves by putting the dough toward a new yacht and sailing off to recuperate. The Federal Election Commission has strict rules about what federal candidates can and can't do with leftover campaign money, and the biggest directive is that they can't pocket it for personal use.

Here's what a campaign committee is allowed to do with any lingering cash: it can donate the funds to charities or political parties; it can contribute $2000 per election to other candidates; and it can save the money in case the candidate chooses to run again. However, those regulations don't apply to the relatively new super PACs (Political Action Committees); this is only the third election where they have played a role, and there are currently no rules to stipulate what happens to that money beyond that it cannot go to fund another federal candidate. Much of that money tends to be returned to its original donors, used to wrap up the failed campaign, or donated to back a state-level candidate. The goal, however, is always to spend all of that money.

Running a campaign is an expensive proposition—Barack Obama spent nearly $750 million on his 2008 White House bid, and in 2012 he spent $985 million on reelection while challenger Mitt Romney spent $992 million—and insufficient cash is often a reason campaigns go belly up.

As for winning (or sometimes losing) politicians, they'll often put their leftover funds toward their next race. If they choose not to run, they have to abide by the same FEC rules. Wonder why this law is in effect? Until 1993, U.S. Representatives who took office before January 8, 1980, were allowed to keep any leftover campaign cash when they retired, but a study showed that a third of Congress kept and spent millions in campaign donations on personal items like clothing, jewelry, artwork, personal travel, and dry cleaning. Embarrassed, Congress passed a law negating this custom for the House; the Senate already had provisions in place so this wouldn't happen.

In reality though, officials can usually find a way to make that cash still work for them (and state laws differ from federal ones). After Chris Christie won reelection as New Jersey's governor in 2014, his campaign was granted permission to use some of its remaining war chest to cover the legal fees Christie incurred during the Bridgegate scandal. And this was well before he dropped $26.7 million on his failed 2016 presidential bid.

An earlier version of this article originally ran in 2012.