Andy Griffith has left behind quite a TV legacy. The star of "The Andy Griffith Show" and "Matlock" passed away at the age of 86, but he'll be remembered fondly by fans thanks to his legendary TV roles.

Griffith starred in "The Andy Griffith Show" from 1960-1968, but got his start in the 1955's "No Time For Sergeants." In 1960 he appeared in an episode of "Make Room for Daddy" as a county sheriff. The episode served as a backdoor pilot for his self-titled show. Griffith left the series in 1968 and it became "Mayberry R.F.D." The late actor made his final appearance as the iconic Andy Taylor in the 1986 TV movie "Return to Mayberry."

That was the same year Griffith assumed the role of "Matlock," a country lawyer from Atlanta. The series ran for nine seasons and produced 195 episodes. "Matlock" aired on NBC from 1986–1992 before jumping to ABC where it ended in 1995. Griffith reprised the role of Matlock in "Diagnosis Murder" in 1997. His last TV acting gig was a 2001 episode of "Dawson's Creek."

Look back on Griffith's long TV tenure in the slideshow below.

"The Andy Griffith Show"

Related on HuffPost: