Before attaining autonomy, it had been French Upper Volta and part of the French Union. On 5 August 1960, it attained full independence from France. The first president, Maurice Yaméogo, was the leader of the Voltaic Democratic Union (UDV). The 1960 constitution provided for election by universal suffrage of a president and a national assembly for five-year terms. Soon after coming to power, Yaméogo banned all political parties other than the UDV. The government lasted until 1966. After much unrest, including mass demonstrations and strikes by students, labor unions, and civil servants, the military intervened.