<prompt> Translate the following text to EnglishWakati wa utawala wa maharamia wa Barbary Coast katika karne ya 16 na 17, Formentera ilikuwa hatari sana na ililazimika kuachwa, na haikukaliwa tena hadi karne ya 18.  <response>: During the supremacy of the Barbary Coast pirates in the 16th and 17th centuries, Formentera was so vulnerable it had to be abandoned, and it wasnt resettled until the 18th century. 