Bob Odenkirk, star of the “Breaking Bad” spinoff “Better Call Saul,” is in stable condition after suffering a “heart-related incident,” his representatives confirmed Wednesday evening. The 58-year-old actor was hospitalized Tuesday night in Albuquerque after collapsing on set.

“He and his family would like to express gratitude for the incredible doctors and nurses looking after him, as well as his cast, crew and producers who have stayed by his side,” the representatives said in a statement. “The Odenkirks would also like to thank everyone for the outpouring of well wishes and ask for their privacy at this time as Bob works on his recovery.”

Odenkirk was filming the sixth and final season of AMC’s “Better Call Saul” in New Mexico when he collapsed, and crew members immediately called an ambulance. The series is a prequel to the Bryan Cranston-starring crime drama “Breaking Bad” and centers on Odenkirk’s character, Jimmy McGill, who practices law under the alias Saul Goodman. Odenkirk has earned nine Emmy nominations for his work on the show, including as a producer.

As the public awaited details of Odenkirk’s condition Wednesday, many of his friends and co-stars publicly expressed their support.

Cranston shared a photo of himself with Odenkirk and asked his Instagram followers to “take a moment in your day today to think about him and send positive thoughts and prayers his way.”

Aaron Paul, who played Jesse Pinkman in “Breaking Bad,” shared his love for Odenkirk with a photo on Instagram, while Michael McKean, Odenkirk’s on-screen brother, tweeted: “Sending huge love to our @mrbobodenkirk. You got this, brother.”

David Cross, who co-created the HBO sketch comedy series “Mr. Show” alongside Odenkirk in the mid-1990s, described his collaborator on Twitter as “one of the strongest people I know both physically and spiritually.”

“He WILL get through this,” Cross added.

This post has been updated.