WASHINGTON (KXAN/AP) — Pete Buttigieg is ending his race for the Democratic presidential nomination.

Buttigieg was expected to be in Dallas Sunday night for a rally ahead of Super Tuesday, but instead returned to South Bend, Indiana to suspend his campaign.

Buttigieg, the first openly gay candidate to seriously contend for the presidency, tried to make the case that his party thrived when it embraced candidates who offered generational change. But the 38-year-old Afghanistan war veteran ended up being more successful at winning older voters while Sen. Bernie Sanders, 78, captured the energy of younger ones.

Austin Mayor Steve Adler endorsed Buttigieg at a campaign announcement event in South Bend, Indiana in April 2019, calling him a “mentor” and friend. He told KXAN in an interview that when he became mayor of Austin in 2015, he sought out advice from Buttigieg.

RELATED: Mayor Adler endorses, introduces Pete Buttigieg at 2020 campaign launch event

Adler reacted to the news of Buttigieg no longer continuing his presidential run, saying in a statement:

“Mayor Pete is a special guy and I’m sure will someday be President. I’m proud of him, the way he ran, how he improved not only the debate but helped so many people grow. I believe his candidacy has gotten us closer to beating President Trump.”

Voters saw Buttigieg in the more moderate lane of the Democratic field, and he flourished early with a top finish in the Iowa caucuses and a close second place finish in New Hampshire. But as the race moved to more diverse states, less dependent on college-educated voters, Buttigieg struggled.

His departure from the race reflects the growing pressuring among more moderate Democrats to consolidate in an effort to blunt the rise of Sanders, who Buttigeig said was too liberal to be elected.

Despite robust organizations in Iowa and New Hampshire and supporters who included an influx of former independents and Republicans, Buttigieg failed to overcome daunting questions about his ability to draw African American support key to the Democratic base.

As mayor of a city that is 25% black, Buttigieg faced criticism for firing the first African American police chief in the history of South Bend and for his handling of the case of a white police officer who fatally shot an armed black man in June.

After his unexpected rise to contention in Iowa and New Hampshire last fall, Buttigieg became the target of Massachusetts Sen. Elizabeth Warren for the high-dollar fundraisers he was hosting, notably one in a wine cave in California.

Minnesota Sen. Amy Klobuchar also went at Buttigieg in the months before the caucuses for lacking national experience. She noted that he had lost his only statewide race as a candidate for Indiana treasurer in 2010, while she had won three statewide terms in Minnesota in part by carrying Republican-heavy regions.

Buttigieg presented a starkly different figure on the debate stage than the other leading candidates — all septuagenarians — and drew admirers for his calm, reasoned demeanor and rhetorical skills that reflected his Harvard-trained, Rhodes scholar background but that some voters and operatives described as “robotic.”

Buttigieg had modeled his campaign somewhat on that of former President Barack Obama, who won the 2008 Iowa caucuses largely based on a message of unity and by drawing in a healthy bloc of first-time caucus participants, often the key in a crowded, high-turnout contest.