Over 20,000 cannonballs were fired, but all these military campaigns were doomed and Spain had to ask for peace in 1786 and paid 1 million pesos to the Dey.
ˌoʊvɚ twˈɛnti,zˈiəɹoʊzˈiəɹoʊ zˈiəɹoʊ kˈænənbˌɔːlz wɜː fˈaɪɚd, bˌʌt ˈɔːl ðiːz mˈɪlətˌɛɹi kæmpˈeɪnz wɜː dˈuːmd ænd spˈeɪn hædtʊ ˈæsk fɔːɹ pˈiːs ɪn wˈʌn θˈaʊzənd sˈɛvənhˈʌndɹɪd ˈeɪɾi sˈɪks ænd pˈeɪd wˈʌn mˈɪliən pˈeɪsoʊz tə ðə dˈeɪ.