 Complete the following phrase:  Miller joined the New Hampshire state militia and commanded an artillery unit, until General Benjamin Pierce noticed him and recommended that he be commissioned as a major in the regular army. Miller joined with the 4th Regiment of Infantry in 1808. In 1811, Millers unit went to fight Indians in Vincennes, Indiana, where he was promoted to colonel. In May 1812, his regiment moved to Detroit, Michigan. He was the commander during the Battle of Maguaga. Shortly afterwards, Miller was taken prisoner following the 