At age 17, Hamilton Bee was appointed as secretary for the commission that determined the border between the United States and the Republic of Texas. Sam Houston sent Joseph C. Eldridge, Thomas S. Torrey and Bee to open negotiations with the Comanche in 1843. They achieved the Treaty of Tehuacana Creek. Bee was elected to the Texas Senate in the First Texas Legislature in 1846 and served as its secretary. During the Mexican–American War, Bee served under Benjamin McCulloch's Company A of Col. Jack Hays's 1st Regiment of Texas Mounted Volunteers for a time. He transferred to Mirabeau B. Lamar's Texas cavalry company as a second lieutenant. Bee signed up for a second term in 1847—this time as first lieutenant—in Lamar's Company, which was by then a component of Col. Peter Hansborough Bell's regiment of Texas volunteers. Bee moved to Laredoafter the war. In 1848 he ran and won a seat in the Texas House of Representatives for the Third Texas Legislature. He was repeatedly re-elected and served from 1849 through the end of the Seventh Legislature, for a total of ten years in the House. In the Sixth Legislature, Bee was decisively elected Speaker of the House with 78 votes, to 1 vote each for N. B. Charlton and Pleasant Williams Kittrell.
Marriage and family
After becoming established in the Texas legislature, at the age of 32 Bee married Mildred Tarver on May 21, 1854. After marriage, they had ten children, including sons Barnard E. Bee and Carlos Bee, born while they were living in Mexico. His grandson, Carlos Bee, was born in Berkeley, California and also became a politician. He was elected as mayor of Hayward, California and to the California State Assembly.
Civil War
In 1861, Bee was elected brigadier general of the Texas militia and appointed as a brigadier general in the Confederate Army on March 4, 1862. Bee commanded the brigade that consisted of Carl Buchel's First, Nicholas C. Gould's Twenty-third, Xavier Blanchard Debray's Twenty-sixth, James B. Likin's Thirty-fifth, Peter Cavanaugh Woods's Thirty-sixth, and Alexander Watkins Terrell's Texas cavalry regiments. Bee was headquartered in Brownsville, where he facilitated the trade of cotton for munitions through Mexico. On November 4, 1863, he was forced to abandon Brownsville in the face of a Union expeditionary force under Major General Nathaniel P. Banks. Bee was transferred to a field command in 1864 under Lieutenant GeneralRichard Taylorin the Red River Campaign. In the Battle of Pleasant Hill, Bee had two different horses shot out from under him during a cavalry charge, but was only slightly wounded. One of Bee's brigade commanders at this time was Arthur P. Bagby, Jr., who later replaced him in command. Later, despite intense criticism of his handling of his troops, Bee was given command of Thomas Green's division in Major General John A. Wharton's cavalry corps in February 1865. After that time, he commanded an infantry brigade in Brigadier General Samuel B. Maxey's division.
Postbellum
After the war in 1869 during the Reconstruction era, Bee moved his family to Saltillo, Mexico. They lived in a self-imposed exile in Mexico until 1876. By then Democrats were regaining control of the Texas state legislature. They returned to live in San Antonio, where Bee practiced law. He was appointed the Texas Commissioner of the Office of Insurance, Statistics, and History for the 1885-1886 legislative term. After Bee died on October 3, 1897, he was buried in the Confederate Cemetery in San Antonio.