Sen. Bernie Sanders (I-VT) was released from the Desert Springs Hospital Medical Center in Las Vegas on Friday. Sanders was hospitalized on Tuesday after having chest pain during a political fundraiser. During his hospitalization he had to have multiple stents placed to unclog an artery.

Sanders' doctor confirmed the senator had a heart attack.

“After presenting to an outside facility with chest pain, Sen. Sanders was diagnosed with a myocardial infarction," the doctor said.

The senator said he plans to "get back to work."

"I want to thank the doctors, nurses, and staff at the Desert Springs Hospital Medical Center for the excellent care they provided," Sanders said in a statement released by his 2020 presidential campaign. "After two and a half days in the hospital, I feel great, and after taking a short time off, I look forward to getting back to work."

JUST IN: A waving Bernie Sanders leaves a Las Vegas hospital after a heart procedure earlier in the week.



The Sanders campaign says the Vermont senator is expected to appear at the upcoming Democratic debate. https://t.co/iTRD8XCJQO pic.twitter.com/WYoZUjmX8F — ABC News Politics (@ABCPolitics) October 4, 2019

On Thursday, his wife, Jane, tweeted about the ordeal, saying her husband seemed to be in good spirits.

A heartfelt thank you to everyone who reached out yesterday with so many touching & kind messages wishing Bernie well! We are so moved by your support. Bernie is up & about. Yesterday, he spent much of the day talking with us about policies, 1/3 — Jane O'Meara Sanders (@janeosanders) October 3, 2019

joking with doctors and nurses and speaking with our kids & grandkids and friends on the phone. Bernie’s doctors are very pleased with his progress, and we expect him to be discharged and back home before the end of the weekend. 2/3 — Jane O'Meara Sanders (@janeosanders) October 3, 2019

I intend to make sure Bernie takes a few days off to rest, but he's ready to get back out there and we’re looking forward to the October debate. Again, thank you all for your wonderful support. It really does mean a lot to us. 3/3 — Jane O'Meara Sanders (@janeosanders) October 3, 2019

Sanders still plans to be at the Democratic debate scheduled for next week, on October 15th. His future campaign events, however, remain unknown at this time, ABC News reported.