Former Massachusetts Gov. William Weld, right, files to have his name listed on the New Hampshire presidential primary ballot Wednesday in Concord, New Hampshire. At left is New Hampshire Secretary of State Bill Gardner. Credit: Charles Krupa | AP

CONCORD, New Hampshire — Republican Bill Weld has filed for the New Hampshire presidential primary and is now the first major GOP challenger to officially challenge President Donald Trump in the state.

The filing by the former Massachusetts governor came on the same day as the House began public impeachment hearings of Trump in Washington.

Weld said if Trump were to be re-elected, “I think that would be a tragedy for the country.”

Mark Sanford, the former South Carolina governor and congressman, dropped out of the Republican primary race on Tuesday, leaving Weld and former Illinois Rep. Joe Walsh as the remaining major Trump primary challengers.

Walsh was scheduled to file for the first-in-the-nation presidential primary Thursday.