The young King James was crowned in July 1567 in the nearby Church of the Holy Rude, and grew up within the castle walls in the care of Annabell Murray, Countess of Mar and under the tutelage of the humanist scholar George Buchanan. A tennis court was built of timber for the king in 1576. Frequently used as a pawn in the struggles between his regents and the supporters of Mary, the young king was closely guarded. Stirling became the base for James' supporters, while those nobles who wished to see Queen Mary restored gathered at Edinburgh, under William Kirkcaldy of Grange. Grange led a raid on Stirling in 1571, attempting to round up the Queen's enemies, but failed to gain control of the castle or the King.