The San Gabriel Mission was founded nearby on September 8, 1771, as part of the Spanish conquest and occupation of Alta California. The land that would later become Alhambra was part of a 300,000 acre land grant given to Manuel Nieto, a soldier from the Los Angeles Presidio. In 1820 Mexico won its independence from the Spanish crown and lands once ruled by them became part of the Mexican Republic. These lands then transferred into the hands of the United States following the defeat in the Mexican–American War. A wealthy developer, Benjamin Davis Wilson, married Ramona Yorba, daughter of Bernardo Yorba, who owned the land which would become Alhambra. With the persuasion of his daughter, Ruth, Yorba named the land after a book she was reading, Washington Irving's "Tales of the Alhambra", which he was inspired to write by his extended visit to the Alhambra palace in Granada, Spain. Alhambra was founded as a suburb of Los Angeles that remained an unincorporated area during the mid-19th century. The first school in Alhambra was Ramona Convent Secondary School, built on hillside property donated by the prominent James de Barth Shorb family. Thirteen years before the city was incorporated, several prominent San Gabriel Valley families interested in the Catholic education of their daughters established the school in 1890. The city's first public high school, Alhambra High School, was established in 1898, five years before the city's incorporation. On July 11, 1903, the City of Alhambra was incorporated. The Alhambra Fire Department was established in 1906.