SACRAMENTO, Calif. — California raised more than $800 million from selling permits to release greenhouse gases in the latest quarterly auction.

Auction results released Wednesday show all available permits were sold through California's cap-and-trade program. The program requires polluters to obtain permits for each ton of carbon they release.

Sixty percent of the revenue is earmarked for specific projects including a high-speed train planned to run between San Francisco and Los Angeles. The remaining 40 percent is divvied up by state lawmakers for programs that address climate change, such as electric-vehicle subsidies.

Cap-and-trade is a central part of California's plan to reduce greenhouse gas emissions 40 percent below 1990 levels by 2030. Demand for permits has been consistently high since lawmakers last year extended the program until 2030.