Turkmenistan’s president said he will resign after 15 years in power.