Answer
B. J. Habibie served as President of Indonesia for 517 days, from May 21, 1998, to October 20, 1999. He assumed office following the resignation of President Suharto amidst widespread protests and economic turmoil. During his brief presidency, Habibie implemented significant political and economic reforms, including the introduction of a multi-party system and the granting of greater autonomy to provinces.