Original: The latter attempted to establish control over the pirates, but failed.
Simplified: They attempted to establish control over the pirates, but failed.