Mayberry is a fictional community that was the setting for two popular American television sitcoms, The Andy Griffith Show (1960–1968) and Mayberry R.F.D. (1968–1971); Mayberry was also the setting for a 1986 reunion television film titled Return to Mayberry. Mayberry is said to be based on Andy Griffith's hometown of Mount Airy, North Carolina. Mount Airy is also known as Mayberry and called by both names by its residents.
Andy does his part for the Mayberry town band. Barney and Gomer are not sure he's helping the cause.
The Andy Griffith Show is an American sitcom television series that was aired on CBS from October 3, 1960, to April 1, 1968, with a total of 249 half-hour episodes spanning eight seasons—159 in black and white and 90 in color.
Knotts and Griffith as their characters in a still taken from the October 7, 1965 one-hour variety special The Andy Griffith, Don Knotts, and Jim Nabors Show
In the 1961 episode "Andy Saves Barney's Morale," Andy leaves Barney in charge while he is away and returns to find Barney has jailed many of Mayberry's citizens for petty reasons.
Sam Jones (Ken Berry) and his son Mike (Buddy Foster) were recurring characters in the final season of The Andy Griffith Show, setting up the sequel series Mayberry R.F.D.