Cypress is a suburban city located in the northern region of Orange County within Southern California. Its population was 47,802 at the 2010 census. The first people living in the area now known as Cypress were the Gabrieleno, a Native American tribe of the Tongva people, who were displaced soon after the arrival of the Europeans. The government of Spain then possessed the land until Mexico gained its independence in 1821. Mexico then lost Alta California to the United States during the period following the Bear Flag Revolt and the Mexican-American War.