A law society is an association of lawyers with a regulatory role that includes the right to supervise the training, qualifications, and conduct of lawyers. From Wikipedia
The resignation follows widespread condemnation of his remarks, seen as victim-shaming, by legal professionals, advocacy groups, and government officials.