Original: Ramesses posted troops and ships at strategic points along the coast and patiently allowed the pirates to attack their prey before skillfully catching them by surprise in a sea battle and capturing them all in a single action.
Simplified: p250 Ramesses posted troops and ships at strategic points along the coast, and allowed the pirates to attack their prey. He then caught them by surprise in a sea battle, capturing them all in a single action.