Thai junta leader General Prayuth Chan-ocha was elected prime minister in parliament in a move that has been widely expected since he seized power in May.
Prayuth has won at least half the votes, the required number needed to secure his nomination, a live television broadcast of the parliamentary session showed. The 60-year-old was the only person nominated.
His appointment will need to be formally approved by Thailand's king. The military says it took power on May 22 to avoid further bloodshed and restore stability after months of unrest pitting supporters of ousted Prime Minister Yingluck Shinawatra against her Bangkok-based royalist opponents.