The earliest trace of civilisation in Bolivia was the Tiwanakan culture in 2000 BC who lived south of Lake Titicaca. They built the city of Tiwanaku. In the 15th century, the Incan empire ruled until the Spanish arrived in 1525. The Spanish ruled Bolivia for almost 300 years. In 1825, they gained their independence, and the country got its name after the independence fighter, Simon Bolivar. Bolivia was not a wealthy country. Although, for a short while, the tin and silver exports kept the economy stable. In the late 1800s, Bolivia fought the War of the Pacific against Chile. They lost the war and their coastline as a result of which Bolivia is now a landlocked country with no ocean access.