James Flanagan, first U.S. Senator from Texas