Erdogan, who first came to power in 2003 as prime minister, had argued a "Turkish-style" presidential system would bring stability and prosperity to a country rattled by a failed coup last year that left more than 200 people dead, and a series of devastating attacks by the Islamic State group and Kurdish militants.