District Attorney endorses Cunningham for Assembly