The Spanish forcibly converted the indigenous population to Christianity and used them as slave labor for construction. The Diocese of Quito was established in 1545 and was elevated to the Archdiocese of Quito in 1849.
In 1809, after nearly 300 years of Spanish colonization, Quito was a city of about 10,000 inhabitants. On August 10, 1809, a movement was started in Quito that aimed for political independence from Spain. On that date, a plan for government was established that placed Juan P�o Mont�far as president with various other prominent figures in other positions of government. However, this initial movement was ultimately defeated on August 2, 1810, when Imperial troops came from Lima, Peru, and killed the leaders of the uprising along with about 200 inhabitants of the city. A chain of conflicts concluded on May 24, 1822, when Antonio Jos� de Sucre, under the command ofSim�n Bol�var, led troops into the Battle of Pichincha. Their victory marked the independence of Quito and the surrounding areas.
Republican era
In 1833, members of the Society of Free Inhabitants of Quito were assassinated by the government after they conspired against it, and on March 6, 1845, the Marcist Revolution began. Later, in 1875, the country's president, Gabriel Garc�a Moreno, was assassinated in Quito. Two years later, in 1877, Archbishop Jos� Ignacio Checa y Barba was killed by poisoning while he was giving mass.
In 1882, insurgents arose against the regime of dictator Ignacio de Veintemilla. However, this did not end the violence that was occurring throughout the country. On July 9, 1883, the liberal commander Eloy Alfaro participated in the Battle of Guayaquil, and later, after more conflict, became the president of Ecuador on September 4, 1895. Upon completing his second term in 1911, he moved to Europe. When he returned to Ecuador in 1912 and attempted a return to power, he was arrested on January 28, 1912; thrown in prison; and