China’s three major state-owned oil and gas companies have evacuated all their Chinese employees out of Libya, the companies said.

China National Petroleum Corporation (CNPC), parent of PetroChina, said it has halted production operations and sealed equipment in Libya and evacuated all of its 391 Chinese employees.

CNPC said in a company newspaper its last group of employees had arrived safely in Tunisia on Sunday and would fly back to China.

The China Petroleum Daily report did not disclose CNPC’s businesses in Libya, other than saying many projects were in the Libyan desert, according to Reuters.

Some of its project camps and operating sites had been attacked, CNPC said last week.

All 77 Chinese employees of China National Offshore Oil Corporation (CNOOC), parent of overseas arm CNOOC Ltd, have left Libya and the last batch will arrive in Beijing by Monday night, the company said in a report on its website.

Sinopec had only seven employees in Libya and all of them returned to Beijing.

China’s Ministry of Commerce has said 75 Chinese companies have operations in Libya and China had evacuated almost 16,000 of its citizens.