Input (grade 7): Before his death he was in constant pain, unable to alleviate it, and would spend his days in prayer.
Output (grade 3): Before his death he was in constant pain, and would spend his days in prayer.