Washington (CNN) Former Massachusetts Gov. Bill Weld on Wednesday said he filed for the New Hampshire Republican primary and is now on the ballot in the first-in-the-nation primary state.

Weld is running a longshot bid against President Donald Trump for the Republican nomination, and is polling at 1% nationally with registered Republican voters.

"It's official! On the ballot for the First in the Nation primary. Thanks to all the great supporters who joined us, and looking forward to taking our campaign to every corner of New Hampshire," Weld tweeted.

There is little support in New Hampshire for Republican primary challengers to the President, according to a CNN/UNH October poll . The vast majority of Republican primary voters in the state (86%) said they would vote for Trump if the primary were held today, and 5% said they would support Weld. The poll shows 1% would support former Illinois Rep. Joe Walsh of Illinois or former South Carolina Gov. Mark Sanford. Sanford suspended his candidacy on Tuesday.

Weld has some national name recognition from when he was the vice presidential nominee on the Libertarian ticket in 2016 with former New Mexico Gov. Gary Johnson. He was governor of New Hampshire's neighbor, Massachusetts, from 1991 to 1997, and won reelection with more than 70% of the vote.

Read More