A German officer, Baron von Steuben helped instill discipline in the Continental Army through his drilling techniques. Steuben came to America in 1777 after serving as a Prussian officer in the Seven Years' War. In 1778 he was appointed inspector general of the Continental Army, with the rank of major general. His Regulations for the Order and Discipline of the Troops of the United States, produced in 1779, was in use in the U.S. military until the War of 1812. Steuben became an American citizen in 1783.