The Mod Squad - Season 5
Young people in trouble with the law (wealthy Pete stole a car; Linc arrested during Watts riots; Julie ran away from her San Francisco prostitute mother) can avoid jail by infiltrating the counter culture and exposing badguys who prey on other kids.