Environmental activists poured millions of dollars into the Virginia gubernatorial campaign to help propel Democrat Terry McAuliffe to victory over Republican opponent Ken Cuccinelli.

Environmental groups put up $3.8 million to help McAuliffe defeat Cuccinelli, according to the Virginia Public Access Project. That’s about four times as much as fossil fuel interests gave Cuccinelli.

Energy and environmental concerns became a major focus during the campaign, as McAuliffe planned to jump-start Virginia’s renewable energy production and bring green jobs into the state.