NASHUA, N.H. — Democratic presidential hopeful Pete Buttigieg Pete ButtigiegBogeymen of the far left deserve a place in any Biden administration Overnight Defense: Woodward book causes new firestorm | Book says Trump lashed out at generals, told Woodward about secret weapons system | US withdrawing thousands of troops from Iraq A socially and environmentally just way to fight climate change MORE congratulated Sen. Bernie Sanders Bernie SandersMcConnell accuses Democrats of sowing division by 'downplaying progress' on election security The Hill's Campaign Report: Arizona shifts towards Biden | Biden prepares for drive-in town hall | New Biden ad targets Latino voters Why Democrats must confront extreme left wing incitement to violence MORE (I-Vt.) on his performance in the New Hampshire primary on Tuesday as Sanders was declared the victor in the nation's first primary.

"I admired Sen. Sanders when I was a high school student," Buttigieg said to an enthusiastic crowd of 1,200 supporters at Nashua Community College. "I respect him greatly to this day, and I congratulate him on his strong showing tonight."

NBC News and ABC News called the tight race as Buttigieg delivered his remarks. Sanders garnered 25.9 percent support and Buttigieg took 24.1 percent with 83 percent of the precincts reporting.

ADVERTISEMENT

Minnesota Sen. Amy Klobuchar Amy KlobucharEPA delivers win for ethanol industry angered by waivers to refiners It's time for newspapers to stop endorsing presidential candidates Biden marks anniversary of the Violence Against Women Act, knocks Trump and McConnell MORE (D), who has struggled to break into the race's top tier, came in third place with 19.8 percent.

Despite the loss in New Hampshire, Buttigieg was awarded the most delegates in Iowa after a recanvass of 55 precincts was completed on Sunday following reporting errors and irregularities that delayed the release of the initial results by more than a day.

Buttigieg also came within 2 points of tying Sanders in the Granite State, ensuring that this was not a shoo-in for the Vermont senator.

The results from both races illustrate how far Buttigieg, who was virtually unknown nationally a year ago, has come in the race.

"Thanks to you, a campaign that some said shouldn't be here at all has shown that we are here to stay," Buttigieg told his supporters.

The candidates have already set their sites on the Nevada caucuses, which are set to take place on Feb. 22.

ADVERTISEMENT

Buttigieg will head to Nevada on Thursday to attend the League of United Latin American Citizens Presidential Town Hall.

He will likely face different challenges in Nevada, given the state's more diverse racial makeup. Buttigieg has struggled to appeal to voters of color — in particular black voters — because of his record as mayor of South Bend, Ind.

The RealClearPolitics polling average shows Buttigieg only garnering an average of seven percent support in Nevada.