Educated at Magdalen College, Oxford, Wolsey served for a while as master of the Magdalen College school. He was ordained a priest in 1498. In 1507 he entered the service of Henry VII as royal chaplain. Upon the accession of Henry VIII in 1509, Wolsey was appointed royal almoner and privy councilor. He successfully organized an army for the invasion of France in 1513, accompanied Henry on his campaign, and helped conclude the peace of 1514. In the same year he was made bishop of Lincoln and then archbishop of York. In 1515 he became a cardinal and lord chancellor of England, and in 1518 he was created papal legate.