Question: When was the city where Fairly Legal located founded?

full_context: Document 1: House at the End of the Street: A newly-divorced medical doctor Sarah Cassidy (Elisabeth Shue), and her 17-year-old daughter Elissa (Jennifer Lawrence) move to a small, upscale suburb. They are disturbed to discover the house they are moving into is on the same street as a house in which a family used to live before they were massacred. The story of the massacre is told to them by the neighbors. Four years prior, a girl named Carrie-Anne Jacobson killed her parents, then fled into the forest and was never seen again, leaving her brother Ryan (Max Thieriot) as the sole survivor. Ryan now lives alone and is hated by his neighbors; Bill Weaver (Gil Bellows), a local police officer, appears to be Ryan's only supporter.
Document 2: San Francisco: Upon independence from Spain in 1821, the area became part of Mexico. Under Mexican rule, the mission system gradually ended, and its lands became privatized. In 1835, Englishman William Richardson erected the first independent homestead, near a boat anchorage around what is today Portsmouth Square. Together with Alcalde Francisco de Haro, he laid out a street plan for the expanded settlement, and the town, named Yerba Buena, began to attract American settlers. Commodore John D. Sloat claimed California for the United States on July 7, 1846, during the Mexican–American War, and Captain John B. Montgomery arrived to claim Yerba Buena two days later. Yerba Buena was renamed San Francisco on January 30 of the next year, and Mexico officially ceded the territory to the United States at the end of the war. Despite its attractive location as a port and naval base, San Francisco was still a small settlement with inhospitable geography.
Document 3: Jessica Jones (TV series): Following the tragic end of her brief superhero career, Jessica Jones tries to rebuild her life as a private investigator, dealing with cases involving people with remarkable abilities in New York City. After her encounter with Kilgrave, Jones begins to put her life back together, taking on a new case that makes her reluctantly confront her past and who she really is.
Document 4: San Francisco: San Francisco (initials SF) (/ ˌsæn frənˈsɪskoʊ /, Spanish for Saint Francis; Spanish: (san franˈsisko)), officially the City and County of San Francisco, is the cultural, commercial, and financial center of Northern California. The consolidated city - county covers an area of about 47.9 square miles (124 km), mostly at the north end of the San Francisco Peninsula in the San Francisco Bay Area. It is the fourth-most populous city in California, and the 13th-most populous in the United States, with a 2016 census - estimated population of 870,887. The population is projected to reach 1 million by 2033. As of 2016, San Francisco County was the 7th highest - income county in the United States, with a per capita personal income of $110,418.
Document 5: San Diego: San Diego has been called ``the birthplace of California ''. Historically home to the Kumeyaay people, it was the first site visited by Europeans on what is now the West Coast of the United States. Upon landing in San Diego Bay in 1542, Juan Rodríguez Cabrillo claimed the area for Spain, forming the basis for the settlement of Alta California 200 years later. The Presidio and Mission San Diego de Alcalá, founded in 1769, formed the first European settlement in what is now California. In 1821, San Diego became part of the newly independent Mexico, which reformed as the First Mexican Republic two years later. California became part of the United States in 1848 following the Mexican -- American War and was admitted to the union as a state in 1850.
Document 6: San Jose, California: San Jose is home to several colleges and universities. The largest is San Jose State University, which was founded by the California legislature in 1862 as the California State Normal School, and is the founding campus of the California State University (CSU) system. Located in downtown San Jose since 1870, the university enrolls approximately 30,000 students in over 130 different bachelor's and master's degree programs. The school enjoys a good academic reputation, especially in the fields of engineering, business, art and design, and journalism, and consistently ranks among the top public universities in the western region of the United States. San Jose State is one of only three Bay Area schools that fields a Football Bowl Subdivision (FBS) Division I college football team; Stanford University and U.C. Berkeley are the other two.
Document 7: Succession (TV series): Ashley Zukerman as Nate Sofrelli, a political strategist and former romantic partner of Shiv's. He convinces her to work on the Eavis presidential campaign and the two of them are having an affair.
Document 8: San Francisco: San Francisco was founded on June 29, 1776, when colonists from Spain established Presidio of San Francisco at the Golden Gate and Mission San Francisco de Asís a few miles away, all named for St. Francis of Assisi. The California Gold Rush of 1849 brought rapid growth, making it the largest city on the West Coast at the time. San Francisco became a consolidated city - county in 1856. After three - quarters of the city was destroyed by the 1906 earthquake and fire, San Francisco was quickly rebuilt, hosting the Panama - Pacific International Exposition nine years later. In World War II, San Francisco was a major port of embarkation for service members shipping out to the Pacific Theater. It then became the birthplace of the United Nations in 1945. After the war, the confluence of returning servicemen, massive immigration, liberalizing attitudes, along with the rise of the ``hippie ''counterculture, the Sexual Revolution, the Peace Movement growing from opposition to United States involvement in the Vietnam War, and other factors led to the Summer of Love and the gay rights movement, cementing San Francisco as a center of liberal activism in the United States. Politically, the city votes strongly along liberal Democratic Party lines.
Document 9: San Francisco Mint: The San Francisco Mint is a branch of the United States Mint and was opened in 1854 to serve the gold mines of the California Gold Rush. It quickly outgrew its first building and moved into a new one in 1874. This building, the Old United States Mint, also known affectionately as The Granite Lady, is one of the few that survived the great 1906 San Francisco earthquake. It served until 1937, when the present facility was opened.
Document 10: Burden of Truth (TV series): Cassandra Potenza as Georgia Lewis. Benjamin Ayres as Alan Christie, an attorney working for Joanna's father's law firm and Joanna's ex. Jessica Matten as Gerrilyn Spence, Luna's mother. Rebecca Gibson as Wendy Ross, Billy's sister and Molly's mother. Jerni Stewart as Lisa Mitchell. Montana Lehmann as Allie Nash. Alex Carter as David Hanley, Joanna's father and a partner at the law firm she used to work for.
Document 11: Fazaldad Wahla: A US-trained orthodontist by profession, he was killed on September 24, 1999 at his home in Angoori, Pakistan while attempting to settle a dispute involving a runaway village girl. A young girl ran away from home and her family, "shamed" by this action, attempted to kill the girl. Fazaldad Wahla tried to step in and save her, and was killed by the family.
Document 12: Lucy Katz: Lucy Katz, J.D. is the Robert C. Wright Professor of Business Law, Ethics, and Dispute Resolution at Fairfield University in Fairfield, Connecticut.
Document 13: Amy Prentiss: Jessica Walter stars as Amy Prentiss, a relatively young investigator who becomes the first female Chief of Detectives for the San Francisco Police Department following the previous chief's death. She is a single mother whose husband died in a plane crash. Prentiss faced opposition from other police officers and from officers' wives.
Document 14: International Settlement (San Francisco): International Settlement was a relatively short lived entertainment district within San Francisco, located along a one block stretch of Pacific Avenue between Kearny and Montgomery Streets, whose popularity lasted from 1939 to 1960.
Document 15: Fairly Legal: "Fairly Legal" stars Sarah Shahi as Kate Reed, a young woman who changes her profession from lawyer to mediator and works at the San Francisco law firm her father started. As the series opens, Kate's father has just died, leaving his young widow Lauren in charge as Kate and the firm adjust to the loss.
ground_truth: June 29, 1776
sub_queries: Which place is Fairly Legal in? Answer: San Francisco
when was the city of San Francisco founded Answer: June 29, 1776