The Fourth Alabama Infantry , which contained two Huntsville companies , were the first Alabama troops to fight in the war . The Fourth Alabama Infantry , which contained two Huntsville companies , were the first Alabama troops to fight in the war and were present when Lee surrendered to Grant at Appomattox in April 1865 .