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: K9 With Carroll County Sheriff's Department Receives Bulletproof Vest

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

READ MORE: Orioles Rank 8th As Booziest Fanbase In Major League Baseball, Survey Says

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: Maryland Casinos Generate $126.2M During February

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