Yang issued a statement during the campaign that Yang went to the emergency room on Friday morning after abdominal pain on Friday and stayed in the hospital with his wife Evelyn.
The campaign said that his public event on Friday was cancelled, “but he is looking forward to returning to the track in the days to come.”
Democrat Yang officially joined the race in January and has since become the most well-known candidate in the crowded field to succeed Bill de Blasio as the next mayor of New York City.
Yang, a former technology executive, sought the nomination of the Democratic presidential candidate in 2020. He stood out from a relatively unknown candidate and became a nationally renowned competitor. He was fully supported by supporter Yang Gang. Yang Gang helped him raise 40 million US dollars during the campaign.
The primary election for the mayor of New York will be held on June 22.
This story has been updated with additional background information.