The Senate on Wednesday voted that “climate change is real and is not a hoax” as Democrats used the Keystone XL pipeline debate to force votes on the politically charged issue ahead of the 2016 elections.

The “hoax” amendment to the pipeline bill from Sen. Sheldon Whitehouse (D-R.I.) passed 98-1, with only Mississippi Sen. Roger Wicker, the chairman of the Senate Republican campaign arm, voting “no.”

In a surprise, the Senate’s leading skeptic of climate science, Sen. James Inhofe (R-Okla.), voted in favor of the amendment — but made clear he doesn’t believe humans are the primary driver of climate change.

The GOP “yes” votes also included three of the GOP’s leading contenders for the White House: Sens. Ted Cruz (Texas), Rand Paul (Ky.) and Marco Rubio (Fla.).

Republicans backed Inhofe’s stance in a second vote, rejecting an amendment from Sen. Brian Schatz (D-Hawaii) that stated, “climate change is real and human activity significantly contributes to climate change.”

The “significantly” in the provision is what many Republicans pointed to as a point of contention as they blocked the amendment in a 50-49 vote, short of the 60 that was needed for approval.