LOS ANGELES (AP) - “Better Call Saul” star Bob Odenkirk had a “heart related incident” when he collapsed on the show's New Mexico set, and his condition is stable as he recovers at a hospital, his representatives said Wednesday.

“We can confirm Bob is in stable condition after experiencing a heart related incident,” the statement said. “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 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 collapsed Tuesday on the Albuquerque set where the “Breaking Bad” spin-off is shooting its sixth and final season. Crew members called an ambulance that took the 58-year-old actor to a local hospital.

Shortly before the statement was released, Odenkirk's son Nate, the elder of his two children, tweeted, “He's going to be OK.”

The sixth season of the spin-off prequel to “Breaking Bad” is set to air on AMC next year. Both shows were shot in and mostly set in Albuquerque.

An email sent to a representative of AMC seeking more information or comment was not immediately returned.

Odenkirk has been nominated for four Emmys for playing the title character, a down-on-his-luck lawyer named Jimmy McGill who becomes increasingly corrupt and adopts the pseudonym Saul Goodman.

Michael McKean, Odenkirk's co-star who played his brother on the show, was among many wishing Odenkirk well on social media.

“Sending huge love to our ↕mrbobodenkirk,” McKean tweeted. “You got this, brother.”

Before the “Saul” role, which he also played on “Breaking Bad,” Odenkirk was best known for “Mr. Show With Bob and David,” the sketch comedy series he co-created with David Cross that originally aired on HBO from 1995 to 1998.

He has won two Emmys, for his writing on “The Ben Stiller Show” and on “Saturday Night Live.”

He has also appeared on HBO's “The Larry Sanders Show” and in the films “The Post,” “Little Women” and “Nobody.”