Omar Hassan al-Bashir, who has not been seen since he was deposed as Sudan’s president last week, has been moved to a prison in the capital where he once confined those who challenged his nearly 30-year rule, according to two former advisers.

The throngs of Sudanese protesters who forced the ouster of Mr. al-Bashir last Thursday have demanded that he be arrested and put on trial. Until now, the generals who have taken power have said only that he was being held in a “safe place,” but not where.

Mr. al-Bashir is under indictment by the International Criminal Court at The Hague for genocide, war crimes and crimes against humanity. Those charges relate to the atrocities his regime oversaw in the 2000s in Darfur, a province in the country’s west. It is unclear whether he will be extradited.

Mr. al-Bashir was taken to Kober prison in Khartoum, according to Osama Nabil Sobhi, the president of the Sudan Disarmament, Demobilization and Reintegration Commission, which served as an advisory board to Mr. al-Bashir.