SAN ANTONIO (AP) - A federal magistrate judge in San Antonio who told people at a citizenship swearing-in ceremony that they "need to go to another country" if they object to Donald Trump's presidency will no longer preside over such events.

Orlando Garcia, the chief judge for the U.S. District Court for the Western District of Texas, said Tuesday that district judges on Monday agreed to bar Magistrate Judge John Primomo from handling such proceedings.

District court judges are responsible for overseeing and appointing magistrate judges.

Primomo has said he wasn't trying to tell the new Americans at Thursday's ceremony to leave if they didn't like Trump. He said and his words were meant to be unifying and respectful of the president's office, not political. He added he didn't vote for Trump.