Viking raids were often seen as a divine punishment, and Alfred may have wished to revive religious awe in order to appease God's wrath. This revival entailed the recruitment of clerical scholars from Mercia, Wales and abroad to enhance the tenor of the court and of the episcopacy; the establishment of a court school to educate his own children, the sons of his nobles, and intellectually promising boys of lesser birth; an attempt to require literacy in those who held offices of authority; a series of translations into the vernacular of Latin works the king deemed "most necessary for all men to know"; the compilation of a chronicle detailing the rise of Alfred's kingdom and house, with a genealogy that stretched back to Adam, thus giving the West Saxon kings a biblical ancestry. Very little is known of the church under Alfred. The Danish attacks had been particularly damaging to the monasteries. Although Alfred founded monasteries at Athelney and Shaftesbury, these were the first new monastic houses in Wessex since the beginning of the eighth century. According to Asser, Alfred enticed foreign monks to England for his monastery at Athelney because there was little interest for the locals to take up the monastic life. Alfred undertook no systematic reform of ecclesiastical institutions or religious practices in Wessex. For him, the key to the kingdom's spiritual revival was to appoint pious, learned, and trustworthy bishops and abbots. As king, he saw himself as responsible for both the temporal and spiritual welfare of his subjects. Secular and spiritual authority were not distinct categories for Alfred. He was equally comfortable distributing his translation of Gregory the Great's Pastoral Care to his bishops so that they might better train and supervise priests and using those same bishops as royal officials and judges. Nor did his piety prevent him from expropriating strategically sited church lands, especially estates along the border with the Danelaw, and transferring them to royal thegns and officials who could better defend them against Viking attacks. Effect of Danish raids on education The Danish raids had a devastating effect on learning in England. Alfred lamented in the preface to his translation of Gregory's Pastoral Care that "learning had declined so thoroughly in England that there were very few men on this side of the Humber who could understand their divine services in English or even translate a single letter from Latin into