Tegucigalpa was founded by Spanish settlers as ''Real de Minas de San Miguel de Tegucigalpa'' on September 29, 1578 on the site of an existing native settlement of the Lenca and Tolupans.  The first mayor of Tegucigalpa was ''Juan de la Cueva'', who took office in 1579.  The Dolores Church (1735), the San Miguel Cathedral (1765), the ''Casa de la Moneda'' (1780), and the Immaculate Conception Church (1788) were some of the first important buildings constructed.