New York City Comptroller and mayoral candidate Brad Lander was detained Tuesday by Immigration and Customs Enforcement agents as he was escorting a defendant out of immigration court, his wife said in a statement.

“While escorting a defendant out of immigration court at 26 Federal Plaza, Brad was taken by masked agents and detained by ICE,” Lander’s wife, Meg Barnette, wrote on X.

“This is still developing, and our team is monitoring the situation closely,” Barnette wrote.

ICE did not immediately respond to CNBC’s request for comment.

Video of the incident shows Lander standing outside a courtroom when he is approached by officers wearing masks.