Governor Schwarzenegger and the lawmakers Wednesday agreed to the deal that would require major energy companies to reduce their carbon emissions within 14 years to 1990 levels .