The coalition that elected Mamdani is a powerful new force in city politics.