Original: It was based on an incident recounted by Pope's friend, John Caryll.
Simplified: It was based on an incident that was remembered by Pope's friend, John Caryll.