Bangladesh President Iajuddin Ahmed is resuming his duties, ending speculation about the state of the presidency and the likelihood of his being replaced.
Media reports said he would attend office from Sunday.
A high-powered medical board headed by National Professor Brigadier (retd) MA Malik on Thursday reviewed the health condition of the president and found him fit to work, reported the Daily Star quoting an official announcement.
The president can resume light work immediately, but can be allowed limited visitors.
"The medical board expresses satisfaction at the progress of rehabilitation programme. The president is quite stable to gradually resume routine activities. His cardiac status is satisfactory," the government said in a statement.
Ahmed had undergone a bypass surgery on May 26 in Singapore.
His sudden departure led the opposition Awami League to speculate that Prime Minister Khaleda Zia may replace him with a "more pliable" president, or take over the presidency herself, to facilitate re-election of her alliance in the forthcoming parliamentary elections.
Zia denied this in parliament.
Ahmed returned from Singapore, but did not resume duty, triggering another round of speculation with minister and lawmakers of the ruling Bangladesh Nationalist Party also joining in and speaking to the media off the record.
As Ahmed returned to the presidential palace, main opposition leader Sheikh Hasina, addressing party workers in a district town, alleged that Zia was keeping the president "under house arrest" to continue with her political plans.