Stan Lee attended the Ant-Man premiere on Monday in Hollywood after an emergency trip to the hospital a day earlier.

The 92-year-old comic book legend was taken on Sunday from his Hollywood Hills home to Cedars-Sinai Medical Center, according to an article on Monday by TMZ.

The nature of the medical emergency wasn't clear, but sources said Lee was not feeling well.

Feeling better: Stan Lee attended the Ant-Man premiere in Hollywood on Monday after making an emergency trip to the hospital on Sunday

A representative for Lee said he would be at the Ant-Man premiere on Monday in Los Angeles and he arrived as expected.

Stan wore a mint-green collared shirt, tan jacket and khaki slacks to the premiere at the Dolby Theatre.

He wrapped an arm around Ant-Man star Paul Rudd, 46, and also flashed Spider-Man's web-slinging hand gesture.

Spidey move: The comic book legend flashed the Spider-Man's web-slinging hand gesture

Good times: Paul Rudd and Stan smiled as they met up at the premiere

The co-creator of Spider-Man, the Fantastic Four, Iron Man, the Hulk and the X-Men was fitted with a pacemaker in 2012.

Lee in 2011 was honoured with a star on the Hollywood Walk Of Fame.

His characters have been featured in more than two dozen animated television series and a growing list of live-action movies.

Hospital visit: Stan, shown in April at the Avengers: Age Of Ultron premiere in Hollywood, looked fully recovered following his reported hospital visit

He is also the co-creator of The Avengers, Thor, Daredevil, Galactus and Doctor Strange.

He collaborated with Jack Kirby and Steve Ditko in creating the iconic comic book characters.

Lee was born in 1922 to Romanian immigrant parents with a given name of Stanley Lieber.

Comic book legend: The co-creator of Spider-Man and other Marvel characters is shown in April in Chicago

Popular character: Stan co-created Spider-Man with Steve Ditko and the web-slinger, shown in The Amazing Spider-Man 2 in 2014, has remained a popular character in comic books and films

He began writing as a teenager and by age 16 had graduated from high school early and became an assistant in 1939 at Timely Comics.

Lee worked his way up through the company that by the 1960s had become Marvel Comics.

He has appeared in several comic books and also has made appearances in Marvel films.

Lee has made cameos in live-action films based on Marvel characters ranging from 1989's The Trial Of The Incredible Hulk to the recent Avengers: Age Of Ultron.

Prolific career: Stan, shown in London in February 1979, started out as an assistant with Timely Comics in 1939 and it later became Marvel Comics