Mamdani, a self-described democratic socialist, comes to power at a time when Trump has pushed a hard-right agenda.