ANNAPOLIS, Md. (AP) — Maryland Gov. Martin O’Malley took to Facebook to voice his disproval of the Keystone XL pipeline from Canada to the Texas Gulf Coast.

The Democratic governor says in Monday’s post that he hopes the Senate rejects a bill that would approve the pipeline. The Senate’s vote on the legislation, set for Tuesday, is expected to be close.

READ MORE: 18-Year-Old Critically Injured In South Baltimore Shooting

O’Malley says the pipeline would produce too much carbon dioxide and wouldn’t create nearly enough jobs to justify.

READ MORE: Harford County’s Top Health Official Says He Was Fired For Political Reasons, Advocacy Of Masks In Schools And Vaccines

He says it’s time to reject “smallball choices facing us on energy” and instead “build a national renewable energy grid.” O’Malley says that would create hundreds of thousands of jobs while reducing carbon emissions.

O’Malley is considering running for president.

MORE NEWS: Baltimore Polytechnic Institute Empowers Aspiring Pilots With Aviation Program

(Copyright 2014 by The Associated Press. All Rights Reserved.)