Veteran state lawmaker was defeated by Stephen Rideout, a former city commissioner and ex-juvenile court judge.