The Democrat-controlled House voted 88-51 for the override, three votes more than the three-fifths majority needed. The Senate is scheduled to vote on the Republican governor’s veto Thursday. Last year, the Senate passed the bill 32-14, a margin above the 29 votes needed.

The measure would increase requirements to use energy sources like wind and solar power to 25 percent by 2020. The state’s renewable energy standard goal now is 20 percent by 2022.

Mike Tidwell, director of Chesapeake Climate Action Network, praised the vote, calling it a rejection of “the anti-environmental agendas of both Larry Hogan and Donald Trump.”

“This is one of the first state legislative votes nationwide to show that states will fight back when leaders like Hogan and the climate deniers in Washington attempt to thwart progress on clean-energy jobs and global warming pollution,” Tidwell said.

Hogan has called it a “sunshine and wind tax.” Amelia Chasse, a spokeswoman for Hogan, said the governor has and will continue to support sensible efforts to encourage the use and growth of all forms of renewable energy, but that this measure didn’t do that.

“For years, Marylanders have made it clear that they are sick and tired of these kinds of rate increases — hopefully our good senators won’t turn a deaf ear to their calls like their colleagues in the House just did,” she said.

Lawmakers who supported the bill say it will help the environment and increase jobs in renewable energy.