Mr. Lander, the New York City comptroller and a candidate for mayor, was handcuffed as he tried to steer a man past Immigration and Customs Enforcement officers.

“You don’t have the authority to arrest U.S. citizens,” Lander told the masked agents.

The incident comes days after police handcuffed Sen. Alex Padilla, D-Calif., after he was forcibly removed from a press conference that DHS Secretary Kristi Noem was holding.