The future challenges for Mamdani will involve translating activism into effective governance.