Brownsville is located at the southern tip of Texas on the Rio Grande, about 20 miles inland from the Gulf of Mexico. As well as being an important port, it is a center of rail, air, and highway transportation. Industries include food processing, petrochemicals, aircraft parts, and electronic equipment. Brownsville is also the trading center for a large ranching and agricultural area, and is headquarters for commercial fisheries, especially shrimp. The city got its start as a fort built in 1846 shortly after the outbreak of war with Mexico. It was renamed for Major Jacob Brown, who died in its defense. Incorporation followed quickly in 1850.