 There he was allowed to take classes in mathematics and languages and was commissioned as an army assistant surgeon in 1830.Tripler was regularly transferred over the whole country before he served in the Second Seminole War and the Mexican–American War.During the Mexico City Campaign he was assigned as Medical Director of General David E. Twiggs regular division and was afterwards ordered to organize and command the army's general hospital in the city.