Cosby began his career as a stand-up comic at the hungry i in San Francisco during the 1960s. He then landed a starring role in the television show I Spy, followed by his own sitcom The Bill Cosby Show, which ran for two seasons from 1969 to 1971. In 1972, using the Fat Albert character developed during his stand-up routines, Cosby created, produced, and hosted the animated comedy television series Fat Albert and the Cosby Kids which ran until 1985, centering on a group of young friends growing up in an urban area. Throughout the 1970s, Cosby starred in about a half-dozen films, and occasionally returned to film later in his career. He attended Temple University in the 1960s and received his bachelor's degree in 1971. In 1973, he received a master's degree from the University of Massachusetts, Amherst, and he earned his Doctor of Education degree in 1976, also from UMass. His dissertation discussed the use of Fat Albert and the Cosby Kids as a teaching tool in elementary schools.