By the time the maneuvering stopped, General Wiranto found himself "suspended" from the cabinet.
This week Mr Habibie sent the commander of the armed forces, General Wiranto, to East Timor.
Golkar, Indonesia's former ruling party, selected General Wiranto as its presidential candidate for elections in July.
Mr Wahid had already said he would ask General Wiranto to resign if the report implicated him.
If and when General Wiranto goes, Mr Wahid will be able to tip the balance further his way.
The appointment of Admiral Widodo Adisujipto to General Wiranto's old job as commander of the armed forces is helpful.
General Wiranto has said he wants to talk to Mr Wahid about it.
Despite the storm of international criticism, General Wiranto, the commander of the armed forces, seemed reluctant to rein in his rampaging troops.
Mr Habibie has already named General Wiranto as his choice for vice-president.
That has allowed General Wiranto, Mr Suharto's former adjutant and now defence minister and commander-in-chief, to play a huge role in the negotiations.
For his part, General Wiranto opposed calls for an international peacekeeping force, saying his men alone would provide security during the consultation procedure.
And, even if General Wiranto does not end up on the winning ticket in one way or another, he can powerfully influence the bargaining.
Indeed, Mr Wahid's own government is so fractious that the sacking of General Wiranto may yet be seen as the least of his worries.
ECONOMIST: Accounting for the violence in East Timor has at last begun
By naming General Wiranto as a coordinating minister for political and security affairs, Wahid grants a promotion that also takes troops away from Wiranto's command.
The same argument applies to the armed forces' commander, General Wiranto.
He also said General Wiranto would be pardoned if found guilty.
One of the first things Wahid did was to bring armed forces leader, General Wiranto, into his government as Coordinating Minister for Political and Security Affairs.
Mr Wahid, a moderate Muslim intellectual, may well have realised that the publication of the commission's report would mean he would have to sack General Wiranto.
It was for their part in bringing about this mayhem that an Indonesian commission has bravely recommended criminal investigations of a number of officials, among them General Wiranto.
Yet General Wiranto has continued to ignore the president's wishes.
General Wiranto's influence has forced Mr Wahid to move gradually.
Although he repeated this several times, Mr Wahid fudged the issue so that it was unclear whether General Wiranto was being sacked or told to step down during the investigation.
Mr Cohen had just been asked about the desirability of General Wiranto, the commander of Indonesia's armed forces, becoming either the country's president or its vice-president in the impending election.
It now seems clear that Miss Megawati cannot win the presidency without the army's vote, increasing the odds that she will name General Wiranto, the armed-forces commander, as her vice-president.
In the process he may also have achieved a more fundamental aim: to create the sort of atmosphere in which General Wiranto could save face and depart without causing further trouble.
Publicly, Mr Akbar continues to maintain that Mr Habibie is Golkar's man, and this week confirmed that General Wiranto, the controversial head of the armed forces, will be his vice-presidential nominee.
President Wahid persuaded General Wiranto that becoming security minister was a promotion, even though it would mean formally severing his ties with the military, thus cutting off Wiranto from direct control of his troops.
Which is why the concessions made by General Wiranto may just be a tactical retreat in preparation for a longer battle to preserve the dominant role the armed forces have enjoyed in Indonesia for the past 40 years.
However, Wiranto, another singing ex-general, was still in with a chance of edging Miss Megawati out of the run-off vote, with 22%.
应用推荐