Lima /ˈliːmə/ is the capital and the largest city of Peru. It is located in the valleys of the ChillónRímac and Lurín rivers, in the central coastal part of the country, overlooking the Pacific Ocean. Together with the seaport of Callao, it forms a contiguous urban area known as the Lima Metropolitan Area. With a population of almost 10 million, Lima is the most populous metropolitan area of Peru, and the third largest city in the Americas (as defined by "city proper"), just behind São Paulo and Mexico City.Lima was founded by Spanish conquistador Francisco Pizarro on January 18, 1535, as Ciudad de los Reyes. It became the capital and most important city in the Spanish Viceroyalty of Peru. Following the Peruvian War of Independence, it became the capital of the Republic of Peru. Today, around one-third of the Peruvian population lives in the metropolitan area.Lima is home to one of the oldest higher learning institutions in the New World. The National University of San Marcos, founded on May 12 of 1551, during Spanish colonial regime, is the oldest continuously functioning university in the Americas.In October 2013, Lima was chosen in a ceremony in Toronto to host the 2019 Pan American Games. It also hosted the 2014 United Nations Climate Change Conference in December of that year and the Miss Universe 1982 pageant.