Former Egyptian president Mohammed Morsi has died, state television reported on Monday.

It said the 67-year-old Morsi was in court Monday attending a session in his trial on espionage charges when he blacked out and later died. 

Morsi, who hailed from Egypt’s largest Islamist group — the now-outlawed Muslim Brotherhood — was elected president in 2012 in the country’s first free elections following the ouster the year before of longtime leader Hosni Mubarak. The military ousted Morsi in 2013 after massive protests, and crushed the Brotherhood in a major crackdown, arresting Morsi and many others of the group’s leaders.

He had been serving a seven-year sentence for falsifying his candidacy application for the 2012 presidential race.

More to come.