Barbary raids in the Mediterranean continued to attack Spanish merchant shipping, and as a result, the Spanish Empire launched an invasion in 1775, then the Spanish Navy bombarded Algiers in 1783 and 1784.
bˈɑːɹbɚɹi ɹˈeɪdz ɪnðə mˌɛdɪɾɪɹˈeɪniən kəntˈɪnjuːd tʊ ɐtˈæk spˈænɪʃ mˈɜːtʃənt ʃˈɪpɪŋ, ænd æz ɐ ɹɪzˈʌlt, ðə spˈænɪʃ ˈɛmpaɪɚ lˈɑːntʃt ɐn ɪnvˈeɪʒən ɪn wˈʌn θˈaʊzənd sˈɛvənhˈʌndɹɪd sˈɛvənti fˈaɪv, ðˈɛn ðə spˈænɪʃ nˈeɪvi bəmbˈɑːɹdᵻd ældʒˈɪɹz ɪn wˈʌn θˈaʊzənd sˈɛvənhˈʌndɹɪd ˈeɪɾi θɹˈiː ænd wˈʌn θˈaʊzənd sˈɛvənhˈʌndɹɪd ˈeɪɾi fˈoːɹ.