The former head of Egypt's armed forces, Sami Anan, has suspended his run for the country's presidency, a campaign spokesperson has confirmed.
The decision comes only hours after the Supreme Committee of the Armed Forces (SCAF) in Egypt arrested Anan on accusations he had committed violations that "warrant official investigation".
Anan's candidacy for the March presidential elections will be suspended "until further notice", his campaign said in a statement on Tuesday.
In a statement released earlier in the day, SCAF said that the 69-year-old, who announced his candidacy on Sunday, had forged official documents to end his military service and had not obtained the army's approval to run.
"The Armed Forces do not condone the blatant breach of the rules and regulations of military service that the accused has committed, such as committing the crime of forgery represented in the termination of his service in the armed forces, which led to his inclusion in the electoral roster," the statement said.
The statement also said that Anan was seeking to divide the armed forces and citizens.
Anan had announced his intention to run, two hours after current President Abdel Fattah el-Sisi declared his plan to seek a second term.
In a speech posted on his Facebook page, Anan called on the country's civil and military institutions to be neutral in the presidential race.
He said he was running because the plight of the Egyptian people was worsening with the military's overbearing control of the administration.
This, he said, did not enable the private sector to play its role in running the affairs of the state.
Earlier, Egyptian authorities stormed the homes of Anan's presidential campaigners and arrested a number of them. Anan's campaign announced the suspension of work on their Facebook page out of fear for their employees' safety.
Omar Ashour, a professor at the Institute of Arab and Islamic Studies at the University of Exeter, told Al Jazeera he believed the Sisi regime would allow a candidate into the race who is not as threatening to Sisi's re-election as Anan was.
"Now we'll have to wait and see who will come up," Ashour said.
"Probably somebody who does not have that much support on the ground and does not have any support in the military establishment."