By the high Middle Ages,* monasteries had taken on most of what we now think of as the basic functions of the liberal welfare state. They were centers of literacy, education, hospitality, medical treatment, tourist information, elderly social care, and spiritual counseling—in addition to their main role as a retreat for the godly.