Joan Kagezi, the top Ugandan state prosecutor in the trial of 13 men accused of a deadly al-Shabab bomb attack, has been shot dead in Kampala.
Ms Kagezi was targeted on her way home by motorbike gunmen, officials say.
The trial of the men, accused of links to the 2010 Kampala suicide bombing which killed 76 people, has been suspended.
Last week, the US embassy in Uganda warned of a possible “terrorist” attack.
Ms Kagezi, the senior principal state attorney, headed the directorate of public prosecution’s anti-terrorism and war crimes division.
Kampala police spokesman Patrick Onyango said: “They were trailing her on a motorcycle… They shot her dead.”