Nepal is a landlocked Himalayan country, with its two largest neighbours being India and China. Nepal became a republic in 2008, having previously been ruled as a monarchy for much of its modern history. The country has emerged from a decade of Maoist-led rebellion, with a peace deal which eventually led to multi-party elections. It is currently undergoing constitutional reform, with its second Constitutent Assembly having been elected in 2013. The country remains primarily agrarian, with a significant dependence on foreign tourism. It has a population of 31 million people, and the major religions are Hinduism and Buddhism. Nepal's capital is Kathmandu, which is also the gateway to the country for most visitors.