On November 13, 2003, shortly before leaving office, Davis officially brought the energy crisis to an end by issuing a proclamation ending the state of emergency he declared on January 17, 2001. The state of emergency allowed the state to buy electricity for the financially strapped utility companies. The emergency authority allowed Davis to order the California Energy Commission to streamline the application process for new power plants. During that time, California issued licenses to 38 new power plants, amounting to 14,365 megawatts of electricity production when completed.