Elgin ( EL-ghin) is a city in Bastrop and Travis Counties in the U.S. state of Texas. The population was 8,135 at the 2010 census. The city is a suburb of Austin, and is part of the Greater Austin metropolitan area. Elgin is also known as the Sausage Capital of Texas and the Brick Capital of the Southwest, due to the presence of three operating brickyards in the mid-20th century (two of which are open to this date). The City of Elgin owes its existence to a major flood of the Colorado River in 1869. Originally, the railroad was to have run from McDade, 10 miles (16 km) east of Elgin, southwest to the Colorado River at a point somewhere between Bastrop and Webberville, then to Austin following the river.
In 1871, the Houston and Texas Central Railroad (succeeded by the Southern Pacific Transportation Company) built through the area and established a flag stop called Glasscock named for George W. Glasscock, a local resident and Republic of Texas soldier who lived in the area in the 1830s. Glasscock was renamed on August 18, 1872, for Robert Morris Elgin, the railroad’s land commissioner, following the practice of naming new railroad towns after officers of the company. Elgin was established. The original plat placed the train depot in the center of a one-square-mile area. Elgin was incorporated, received a post office the following year, and a Baptist Sunday school began meeting in a private home.
information provided by wikipedia.org