As a councilman and state senator, he fought for higher wages, health care, gay rights and sought justice for the Central Park Five.