A mayor will allocate taxpayer money to subsidize legal assistance for immigrants.