In 1472 St Andrews became the first archbishopric in the Scottish church, to be followed by Glasgow in 1492. The collapse of papal authority in the Papal Schism (1378–1418) allowed the Scottish Crown to gain effective control of major ecclesiastical appointments within the kingdom. This "de facto" authority over appointments was formally recognised by the Papacy in 1487. The Crown placed clients and relatives of the king in key positions, including James IV's (r. 1488–1513) illegitimate son Alexander Stewart, who was nominated as Archbishop of St. Andrews at the age of 11. This practice strengthened royal influence but it also made the Church vulnerable to criticisms of venality and nepotism. Relationships between the Scottish Crown and the Papacy were generally good, with James IV receiving tokens of papal favour.