Duke University originally began in 1838 when Methodist and Quaker families hired Brantley York as a teacher for a subscription school in Randolph County, North Carolina. When the Quakers began to focus on their own school in Guilford County, Union Institute (the name of the school at the time) began to seek assistance elsewhere. The school turned to the Methodist Episcopal Church, South and established a deal whereby the church would exchange financial support to the school for free education to their Methodist preachers. This deal was formalized in 1859 and the school changed its name to Trinity College. The motto was "Eruditio et Religio," which means "Knowledge and Religion." The school survived in the early stages due to the support of Methodists, many of whom gained wealth through the tobacco industry. It moved to Durham in 1892 and later changed its name to Duke University in 1924.