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 Seacrest took over in 2006. Dick has appeared on the show sporadically ever since. His final appearance was in 2011.
Months before suffering a stroke, Clark told Larry King he also suffered from Type 2 diabetes.
Clark got his first big break in 1956, hosting what was called "Bob Horn's Bandstand" ... what would later be renamed "American Bandstand." Clark continued to host and produce "American Bandstand" until 1989.
Dick hosted Miss USA from 1989-1993 -- and Miss Universe 1990-1993.
In addition, Clark also hosted a bunch of game shows -- like "Pyramid," "Scattergories," "The Challengers," and many more.
Clark had been inducted into practically every hall of fame on the planet -- including the Hollywood Walk of Fame, the Rock and Roll Hall of Fame, and the Academy of Television Arts and Sciences Hall of Fame.
Clark had also received a total of 5 Emmy Awards for his work, as well as a Peabody Award. One Emmy was a lifetime achievement award.
Clark was married 3 times -- and has 3 children from his first two marriages. He is survived by his current wife Kari Wigton.
"For now, Dick Clark ... so long."
5:20 PM PT: Dick Clark's rep tells TMZ, there will be NO public funeral. In lieu of flowers, Dick's family asks that donations be made to the National Parkinson’s Foundation based in Miami.
Ryan Seacrest just tweeted, writing, "I am deeply saddened by the loss of my dear friend Dick Clark. He has truly been one of the greatest influences in my life."
Donny Osmond tells us, "The industry lost a legend today, but I feel like I've lost a very close friend. Dick was a mentor to me."
The President of Miss Universe Paula Shugart -- who started working for Dick Clark Productions in 1985 -- tells TMZ, Dick "gave me my first break in TV. His death is hitting all of us hard."