The nearly $800,000 left over from comedian Stephen Colbert's recently shuttered super PAC will go to charity, he announced on his program Thursday night.

Three organizations working on the Hurricane Sandy recovery effort will get $125,000 each:'s Sandy relief fund, Team Rubicon's Sandy outreach, and Habitat for Humanity. The Yellow Ribbon Fund, which helps injured service-members and their families, will also get $125,000.

The rest of the money will be split between the Center For Responsive Politics and the Campaign Legal Center, groups working for campaign finance reform and openness.

Colbert formed a super PAC called "Americans for a Better Tomorrow, Tomorrow," in 2011 to draw attention to loosened campaign finance rules. He shut it down a week after the 2012 election, citing the death of “Ham Rove,” the fictional strategist designed as a parody of Republican operative Karl Rove.

On his Thursday program, Colbert announced that the "Ham Rove Memorial Fund" -- which was founded to "honor Ham's memory with charitable gifts" -- where he is on the board, received a anonymous donation in the amount of $773,704.83, or the exact amount left over from Colbert's super PAC that was shuttled into a nonprofit.

"Where did that specific amount of cash come from? It says it came from P.O. Box Bite Me," Colbert said. He then announced the memorial fund would be making the charitable donations.

The donation to the Campaign Legal Center was made under the condition that a conference room there would be named after Ham Rove, while a Center For Responsive Politics conference room will be named after Colbert's super PAC.

Check out the complete clip below.