The Mamdani campaign excelled at speaking directly to a specific demographic base.