Dick Clark -- famed TV producer and "New Year's Rockin' Eve" host -- died from a massive heart attack this morning ... TMZ has learned.
Clark's rep tells TMZ, the TV icon had been in St. John's hospital in L.A. after undergoing an outpatient procedure last night. Clark suffered the "massive" heart attack following the procedure. Attempts to resuscitate him were unsuccessful.
Clark was 82.
Clark's health had been on the decline since he suffered a significant stroke in 2004 -- forcing him to retire from his hosting gig at "New Year's Rockin' Eve," which he created in 1972. Ryan Sea crest took over in 2006. Dick has appeared on the show sporadically ever since. His final appearance was in 2011.