Image copyright EPA Image caption The security force operation to free workers took seven hours

Afghan officials say 43 people have died in a suicide and gun attack on a government compound in Kabul.

They say 25 others were injured during Monday's siege at the Afghan ministry of public works in the capital.

Hundreds of employees were trapped inside the building at the time - and some reportedly jumped to safety.

It is not immediately clear who carried out the attack. Both the Islamic State group and Taliban have carried similar attacks in the past.

The incident reportedly started with a suicide car bomb blast near the building's entrance, before gunmen stormed inside.

People in nearby buildings reportedly locked themselves in their offices for safety, a witness told the Reuters news agency.

Interior ministry spokesman Najib Danish said that more than 350 people were eventually freed from the public works office.

He warned the numbers of dead and injured may change, and said an Afghan police officer was among those killed.

Three attackers were also shot dead.

The violence comes after a tumultuous few days for Afghanistan's political stability.

Last week it was reported that the US planned to drastically reduce its military presence in the country, shortly after Mr Trump announced an entire withdrawal from Syria.

On Sunday, Afghan President Ashraf Ghani replaced his defence and interior ministers with hard-line opponents of the Taliban who used to work for the country's intelligence agency.