Image copyright Getty Images Image caption Mexico's brutal drug war claims tens of thousands of lives every year

US President Donald Trump has delayed plans to legally designate Mexican drug cartels as terrorist groups.

Mr Trump had vowed to label the gangs as terrorists after the killing last month of nine American citizens from a Mormon community in Mexico.

But he has put the plans on hold on the request of his Mexican counterpart, Andrés Manuel López Obrador.

"I celebrate that he has taken our opinion into account," the Mexican president said.

"We thank President Trump for respecting our decisions and for choosing to maintain a policy of good neighbourliness, a policy of cooperation with us," he added.

Mr Trump's original announcement came after three women and six children of dual US-Mexican nationality were killed in an ambush in a remote area of northern Mexico.

Following the attack the victims' community, the LeBarons, petitioned the White House to list the cartels as terror groups, saying: "They are terrorists and it's time to acknowledge it."

The move would have widened the scope for US legal and financial action against cartels but Mexico saw it as a violation of its sovereignty.

The US president has now put the plans on hold.

"All necessary work has been completed to declare Mexican Cartels terrorist organizations," Mr Trump wrote on Twitter. "Statutorily we are ready to do so."

But Mr Trump said his Mexican counterpart is "a man who I like and respect, and has worked so well with us," adding that he was temporarily holding off on the designation and stepping up "joint efforts to deal decisively with these vicious and ever-growing organizations!"

He did not comment on how long the delay would last.

Media playback is unsupported on your device Media caption Three ways the US is influencing violence in Mexico

Mexico's brutal drug war claims tens of thousands of lives every year, as powerful trafficking groups battle for territory and influence.

In 2017 more than 30,000 people were killed in the country, with the murder rate having more than tripled since 2006.