His successor was offered the position on Wednesday morning before taking the oath of office in the afternoon.