From independence in 1961 until the mid-1980s, Tanzania was a one-party state, with a socialist model of economic development. Beginning in the mid-1980s, under the administration of President Ali Hassan Mwinyi, Tanzania undertook a number of political and economic reforms. In January and February 1992, the government decided to adopt multiparty democracy. Legal and constitutional changes led to the registration of 11 political parties. Two parliamentary by-elections in early 1994, both won by Chama Cha Mapinduzi (CCM), were the first-ever multiparty elections in Tanzanian history.