Gomer Pyle, U.S.M.C. is an American situation comedy that originally aired on CBS from September 25, 1964, to May 2, 1969. The series was a spin-off of The Andy Griffith Show, and the pilot episode was aired as the season finale of the fourth season of its parent series on May 18, 1964. The show ran for a total of 150 half-hour episodes spanning over five seasons, in black-and-white for the first season, and then in color for the remaining four seasons.