American Airlines suspended its service to strife-strewn Venezuela on Friday after key unions representing pilots and flight attendants told them to refuse the trips.

The decision ends the last nonstop commercial service between the US and the ravaged South American nation, which is struggling with massive social upheaval triggered by months of political violence and economic turmoil as its dictator, Nicolas Maduro, struggles to hang on.

“American will not operate in countries we don’t consider safe,” the airline told Bloomberg News.

The carrier said the suspension is temporary.

The labor action came days after the State Department issued a new warning that urged Americans to avoid the country, which was most recently gripped by a days-long nationwide power outage that further battered its economy.