Thai Prime Minister Prayuth Chan-ocha resigned as head of the countries military government and announced that the country will function as a regular democracy after five years of military rule. Last week he ended a large number of restrictions on the media and transferred authority from military courts to civilian courts.