Updated

New York City mayoral candidate Andrew Yang was hospitalized Friday after experiencing abdominal pains, his campaign said.

"After experiencing abdominal pain this morning, Andrew Yang visited an emergency room where he was diagnosed with what appears to be a kidney stone," the Democratic candidate’s campaign announced Friday morning.

A couple of hours later, Yang said that he had been released, as he thanked the medical team at New York's Mt. Sinai West hospital, and thanked his wife for her support during the episode.

"Thank you to the team at Mt Sinai West for the excellent care! And thanks Evelyn for keeping me company as I experienced my first (and hopefully last) kidney stone. Have been discharged and will now proceed to drink lots of water for the rest of the day," Yang tweeted.

The campaign said that Yang’s public evens for Friday have been canceled but that the candidate "looks forward to getting back out on the trail in the days ahead."

ANDREW YANG KICKS OFF NYC MAYORAL BID, CALLS FOR UNIVERSAL BASIC INCOME

NEW YORK, NEW YORK - JANUARY 14: New York City Mayoral candidate Andrew Yang speaks at a press conference on January 14, 2021 in New York City. Former presidential candidate Andrew Yang announced his candidacy for Mayor of New York City. (Photo by Michael M. Santiago/Getty Images)

NEW YORK, NEW YORK - JANUARY 14: New York City Mayoral candidate Andrew Yang speaks at a press conference on January 14, 2021 in New York City. Former presidential candidate Andrew Yang announced his candidacy for Mayor of New York City. (Photo by Michael M. Santiago/Getty Images) (Michael M. Santiago/Getty Images)

The 46-year old New York City entrepreneur grabbed national attending during the 2020 Democratic presidential primaries, as the one-time longest of long shots for the nomination saw his campaign briefly soar due, in part, to his push for each adult American to receive $1,000 a month as a part of a universal basic income.

Yang and his family were at Yankee Stadium on Thursday for opening day of the 2021 Major League Baseball season.

Yang was scheduled on Friday to unveil his Broadway and live performance revival plan.