Turkey's outgoing premier Recep Tayyip Erdogan was sworn in as president on Thursday to extend his more than decade-long dominant rule of the country.