Simplify the following text for a Grade 9 native English-speaking person.
Original: European and Muslims authorities continued to attempt to control the pirates over many years , but the Republic of Bou Regreg did not collapse until 1818 .
Simplified: European and Muslims authorities continued to attempt to control the pirates over many years . The Republic of Bou Regreg did not collapse until 1818 .