Christianity, Judaism and Islam incorporated significant charitable elements from their very beginnings and dāna (alms-giving) has a long tradition in Hinduism, Jainism, Buddhism and Sikhism. Charities provided education, health, housing and even prisons. Almshouses were established throughout Europe in the Early Middle Ages to provide a place of residence for poor, old and distressed people; King Athelstan of England (reigned 924-939) founded the first recorded almshouse in York in the 10th century.