Mohammed Morsi, a bespectacled Muslim Brotherhood foot-soldier elevated from obscurity to become Egypt's first freely elected civilian president, has died. He was 67.

He collapsed and died while attending a court hearing, Egyptian state media reported. He suffered a "sudden heart attack," state-run Ahram Gate said.

Egypt's public prosecutor said there was no evidence of marks or injuries to his body but investigators would conduct a full autopsy and examine courthouse video for evidence. Amnesty International urged a transparent probe into the circumstances of Morsi's death, while other rights advocates seized on it as proof authorities were denying him proper medical care.