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 establishing new deomcratic institutions following recent elections and the adoption of a new constitution. 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.