He was commissioned a second lieutenant in the 1st U.S. Artillery on July 1, 1838. Six days later Trapier transferred to the Engineer Corps, and he was promoted to the rank of first lieutenant on July 1, 1839.[1] He was a cousin of Thomas F. Drayton.