After Texas Independence in 1836, Galveston was the capital of Texas and became a prosperous commercial center due to Its location on the Gulf of Mexico.