Peter Kramer, Associated Press
Kelsey Grammer

Kelsey Grammer has been hospitalized in New York after feeling faint following a recent heart attack.

Publicist Stan Rosenfield says Grammer checked himself into an undisclosed hospital over the weekend as a precaution and his condition is not life-threatening.

The publicist says it's possible Grammer's medication led to his symptoms. At the time, the actor was in town to promote his new film, "Swing Vote."