President Trump slammed Mexico in a tweet Thursday, reaffirming his pledge to "build the wall."

"Mexico was just ranked the second deadliest country in the world, after only Syria. Drug trade is largely the cause. We will BUILD THE WALL!" Trump tweeted.

Mexico was just ranked the second deadliest country in the world, after only Syria. Drug trade is largely the cause. We will BUILD THE WALL! — Donald J. Trump (@realDonaldTrump) June 22, 2017

Trump is likely referring to the ranking that came out last month, which he retweeted from the Drudge Report Twitter account that linked to a CNN story.

MEXICO 2ND DEADLIEST COUNTRY; TOPS AFGHAN, IRAQ... https://t.co/i4FtSpLiHV — DRUDGE REPORT (@DRUDGE_REPORT) May 9, 2017

The Armed Conflict Survey 2017 report estimated 23,000 people had died as a result of Mexico’s drug war in 2016, the second-highest death toll worldwide after the estimated 50,000 who have died in Syria’s civil war.

ADVERTISEMENT

The survey listed Afghanistan with 17,000 dead and then Iraq with 16,000 dead as the next two deadliest conflicts.

Mexican officials dismissed the survey at the time it came out, questioning the survey's methodology, which compared a drug war with the involvement of local police to military conflicts.

Building a wall was a central promise during Trump's campaign, and he has repeatedly insisted that the wall will be built.

In the government spending bill that was passed in late April, Democrats celebrated that there was no allocation of funds to build the wall. Trump and his advisers said the wall would still be built.

Trump renewed his push for border security, including stronger vetting and a wall, following the United Kingdom terror attacks over the past several weeks.