Carlsbad is an affluent coastal resort city that occupies seven miles of coastline along the Pacific Ocean in the northern region of San Diego County in Southern California. Carlsbad is located 87 miles (140 km) south of Los Angeles and 35 miles (56 km) north of downtown San Diego. The population was 105,328 at the 2010 census. Carlsbad's history begins with the Luiseo people who located one of their villages, Palamai, near what is today Agua Hedionda Lagoon. In the 1880s a former sailor named John Frazier dug a well in the area. He began offering his water at the train station and soon the whistle-stop became known as Frazier's Station. A test done on a second fresh-water well discovered the water to be chemically similar to the one found in some of the most renowned spas in the world, and the town was named after the famed Spa in the Bohemian town of Karlsbad.