Input (grade 10): This wall was constructed during the reign of King Kirthi Sri Rajasingha, to protect it from wild elephants which might have damaged the tree.
Output (grade 9): This wall was built during the reign of King Kirthi Sri Rajasingha, to protect it from wild elephants which might have attacked the tree.