Pasadena was settled by Tongva Indians and Mexican ranchers before California became a state. In the 1880s, it became a city (making it the oldest city in the area after Los Angeles). Pasadena was one of the hubs of the Pacific Electric Railroad. During the early 20th century, it was the eighth-largest city in California.