The death comes as Trump makes plans to withdraw more than 600 troops from Somalia.
A CIA officer was killed in Somalia last weekend after being wounded in an operation in the country and later died, according to a former senior administration official.
The identity of the officer has not been made public but the source said the officer was a former Navy SEAL.
Live Updates: Trump says he'll leave the White House
The death comes as the Trump administration is making plans to withdraw more than 600 troops from Somalia in the near future.
US Special Operations forces have been embedded with the Somali National Army, assisting in the fight against the militant group Al-Shabaab.
As well as advising on airstrikes and ground assaults, the Navy SEAL-led team's primary task is to train and build Somalia its own elite light infantry force.
As is tradition, the officer's death will lead to another star being placed on the CIA's Memorial Wall in the atrium of CIA headquarters.
The wall pays tribute to the men and woman who lost their lives in the line of duty for the spy agency. The CIA tweeted in September that the wall featured 135 stars.
While US military advisers in Somalia typically seek to let Somali forces take the lead during operations, there have been incidents where US forces have found themselves in combat situations.
In September, a US service member was injured in the country when Al-Shabaab attacked US and Somali forces.
In August, the US military carried out an airstrike targeting Al-Shabaab fighters in the vicinity of Dar as Salam, after local US-backed forces came under fire from a building.
A Pentagon Inspector General report released this year described the conflict in Somalia as being at a "stalemate," with US-backed Somali government forces continuing to battle Al-Shabaab, with the insurgent group continuing to target Somali and international forces in the country's southern provinces.
Al-Shabaab is estimated to command between 5000 and 10,000 fighters, according to estimates from Africa Command and the Defence Intelligence Agency.
Though US military advisers have been in Somalia since at least 2013, the effort got a major boost under the Trump administration, which volunteered to undertake the Danab advisory mission in 2017 in addition to expanding drone strikes.
The CIA declined to comment after the New York Times first reported the death of the officer.
Source: 9News https://www.9news.com.au/world/usa-cia-officer-killed-in-combat-in-somalia-war/a5cfccba-a2ea-4276-8c6c-79633b653b58