Syria’s de facto leader Ahmed al-Sharaa was declared president for a transitional phase, tightening his hold on power less than two months after he led a campaign that toppled Bashar al-Assad.