The history of Nepal is intertwined with the history of the broader Indian subcontinent and the surrounding regions, comprising the areas of South Asia and East Asia. Nepal is a multi-ethnic, multiracial, multicultural, multi-religious, and multilingual country. The most spoken language is Nepali followed by several other ethnic languages. The Kingdom of Nepal was established in 1768 and started a campaign of unifying all of Nepal that would form modern territories of Nepal. Some former territories had been lost due to the kingdom having participated in the Sino-Nepalese War which ended in both victory and loses, ultimately accepting as a tribute state of Qing dynasty of China from 1792 to 1865. The Anglo-Nepalese War ended in British victory and ceded some Nepalese territory. In a historical vote for the election of the constituent assembly, the Nepalese parliament voted to abolish the monarchy in June 2006. Nepal became a federal republic on 28 May 2008 and was formally renamed the 'Federal Democratic Republic of Nepal' ending the 200-year-old reign of the Shah monarchs.