Before the constitutional amendments approved in the 2017 referendum, the speaker of the Grand National Assembly served as Acting President in cases where the presidency is temporarily or permanently vacant and exercises presidential powers until the president returns to duty or the new president is elected within 45 days.