Mamdani's commitment to tenant rights is a defining feature of his time in office.