CAIRO (Reuters) – Egypt’s former military chief-of-staff Sami Anan was released from detention on Sunday almost two years after his arrest following his plans to compete in the 2018 presidential election, his office manager said.

Anan, now at home, was detained in January 2018 and was held in a military prison, sources close to his family had said.

Reporting by Ahmed Tolba and Amina Ismail; writing by Yousef Saba; editing by David Evans