Bob Harper is feeling grateful.
The 51-year-old Biggest Loser star suffered a shocking heart attack in February, when he suddenly collapsed while exercising at a gym in New York City. On Thursday, Harper took to Instagram to share that he's officially done with his cardiac rehab.
"Yesterday was a BIG DAY in my recovery from my heart attack," he wrote. "I finished my cardiac rehab. It has been super important to me and also HUMBLING. All the support that I've been getting from all my IG friends helped me when it was tough so THANK YOU for all the love and support. #heartattacksurvivor."
WATCH: Bob Harper Shares Video of Himself Doing Burpees 3 Months After Heart Attack
Earlier this week, Harper shared another significant moment during his recovery. The fitness guru was able to participate in his first Crossfit workout again, in the same exact spot where he went into cardiac arrest.
"Last Sunday was a BIG and super emotional day for me," he wrote. "Not only was I able to really do my first @crossfit workout again, I did it in the room where I had my heart attack AND I did it in the exact same spot where I went down into cardiac arrest. Thank you so much to Anthony and my good luck charm Sean for supporting me."
WATCH: Bob Harper Regrets That He 'Overlooked' Heart Attack Warning Signs
In April, Harper opened up about the terrifying moment he went into cardiac arrest.
"I had what they call a 'widow-maker,'" he told Today co-host Savannah Guthrie. "It was a six percent survival rate, and the fact that there were doctors in the gym when I had the heart attack saved my life."
"I was in full cardiac arrest," he added. "My heart stopped. Not to be dramatic, but I was dead. I was on that ground dead."