The Wealth of Nations by Part 1 Chapter 10 Page 64

When those particular incorporations which are now peculiarly called universities were first established, the term of years which it was necessary to study, in order to obtain the degree of master of arts, appears evidently to have been copied from the terms of apprenticeship in common trades, of which the incorporations were much more ancient. As to have wrought seven years under a master properly qualified was necessary in order to entitle any person to become a master, and to have himself apprenticed in a common trade; so to have studied seven years under a master properly qualified was necessary to entitle him to become a master, teacher, or doctor (words anciently synonymous) in the liberal arts, and to have scholars or apprentices (words likewise originally synonymous) to study under him.