DeVito was born in Neptune Township, New Jersey, the son of Daniel DeVito, Sr., a small business owner, and Julia DeVito (nee Moccello). He grew up in a family of five, with his parents and two older sisters. He is of Italian descent; his family is originally from San Fele, Basilicata. He was raised in Asbury Park, New Jersey.

In 1977, DeVito played the role of John 'John John the Apple' DeAppoliso in the Starsky and Hutch episode titled "The Collector". In 1986, DeVito directed and starred in an episode of Steven Spielberg's Amazing Stories. In the black comedy episode from season two, titled "The Wedding Ring", DeVito acquires an engagement ring for his wife (played by his real-life wife, actress Rhea Perlman). When the ring is slipped on his wife's finger, she becomes possessed by the ring's former owner, a murderous black widow.  In 1986, DeVito voiced the Grundle King in My Little Pony: The Movie while his wife, Rhea Perlman, voiced Reeka the witch. In 1990, DeVito and Perlman played a couple (Vic & Paula) commenting on the state of the environment in The Earth Day Special. In 1991 and 1992, DeVito voiced Herb Powell in the episodes "Brother, Can You Spare Two Dimes?" and "Oh Brother, Where Art Thou?" of The Simpsons. In 1996, he provided the voice of Mr. Swackhammer in Space Jam. In 1997, he was the voice of Philoctetes in the film Hercules.  In 1999, DeVito hosted the last Saturday Night Live episode before the year 2000. He earned a 2004 Emmy nomination for Outstanding Guest Actor in a Comedy Series for an episode of Friends, following four Emmy nominations (including a 1981 win) for Outstanding Supporting Actor in a Comedy for Taxi. In 2006, DeVito joined the cast of It's Always Sunny in Philadelphia as Frank Reynolds.  In 2011, he received a star on the Hollywood Walk of Fame for his work in television. In 2012, DeVito voiced the Lorax in The Lorax. In 2013, along with Rashida Jones, he voiced Herb for the third time on "The Changing of the Guardian" episode of The Simpsons (aired on January 27, 2013. season 24, episode 11). He appeared in the Angry Birds Friends Champions for Earth tournament advertisement in September 2015. Following the Japanese release of the Nintendo 3DS game Detective Pikachu, dedicated Pokemon fans started a petition requesting DeVito as the English voice actor for the titular character. The petition gained 40,000 signatures, but he declined to audition for the role, making a comment implying that he is unfamiliar with the popular franchise.

Using a quote from the above article, answer the following question: How long was he on the show?