The Associated Press on Monday apologized for a tweet regarding the caravan of immigrants traveling through Mexico toward the U.S. border.

The tweet, which was published Sunday and has since been taken down, referenced the caravan, calling it “like a ragtag army of the poor.”

“That wording was poorly chosen and has been removed from our coverage of the caravan,” the AP said in a new tweet posted Monday.

Major news outlets covered the caravan heavily over the weekend, and the situation and sparked a series of tweets by President Trump on Monday morning.

Trump threatened last week to close the U.S. southern border to keep the immigrants from entering the country, and blamed Democrats for encouraging the caravan to continue for political purposes.