The United States has temporarily withdrawn some of its forces from Libya due to "security conditions on the ground," a top military official said Sunday as a Libyan commander's forces advanced toward the capital of Tripoli and clashed with rival militias. A small contingent of American troops has been in Libya in recent years, helping local forces combat Islamic State and al-Qaida militants, as well as protecting diplomatic facilities. "The security realities on the ground in Libya are growing increasingly complex and unpredictable," said Marine Corps Gen. Thomas Waldhauser, the head of U.S. Africa Command. "Even with an adjustment of the force, we will continue to remain agile in support of existing U.S. strategy." He did not provide details on the number of U.S. troops that have been withdrawn or how many remain in the country. Footage circulating online showed two apparent U.S. Navy transport craft maneuvering off a beach in Janzour, east of Tripoli, sending up plumes of spray as American forces were ferried from the shore.

Forces loyal to Libya's UN-backed unity government arrive in Tajura, a coastal suburb of the Libyan capital Tripoli, on April 6, 2019, from their base in Misrata. Mahmud Turkia | AFP | Getty Images

India also evacuated a small contingent of peacekeepers. The Indian foreign minister, Sushma Swaraj, said the country's 15 Central Reserve Police Force peacekeepers were evacuated Saturday from Tripoli because the "situation in Libya has suddenly worsened" and fighting has moved into the capital city. The self-styled Libyan National Army, led by Field Marshal Khalifa Hifter, launched a surprise offensive against the capital last week, a move that could potentially drag the country back into civil war. Libya has been gripped by unrest since the 2011 uprising that overthrew and killed longtime dictator Moammar Gadhafi. In recent years, the country has been governed by rival authorities in the east and in Tripoli, in the west, each backed by various armed groups. Fayez Sarraj, head of government in Tripoli, accused Hifter of "betraying" him. "We have extended our hands towards peace, but after the aggression that has taken place on the part of forces belonging to Hifter and his declaration of war against our cities and our capital ... he will find nothing but strength and firmness," al-Sarraj said Saturday in televised comments. Sarraj and Hifter held talks in Abu Dhabi in late February, their first confirmed meeting since November 2018, when they agreed that national elections were necessary, according to the U.N. Hifter is seeking to capture the capital and seize military control of the whole country before U.N.-sponsored talks due to start next week that were designed to set a time frame for possible elections in the oil-rich country. The U.N. envoy for Libya, Ghassan Salame, said the U.N. is determined to hold the planned conference. U.S. Secretary of State Mike Pompeo urged Libyan factions to return to negotiations, saying that "there is no military solution to the Libya conflict." "We have made clear that we oppose the military offensive by Khalifa Haftar's forces and urge the immediate halt to these military operations against the Libyan capital," Pompeo said in a statement.