Long before European empires came to dominate the Middle East, Britain was brought face to face with Islam through the activities of the Barbary corsairs. For three centuries after 1500, Muslim ships based in North African ports terrorized European shipping, capturing thousands of vessels and enslaving hundreds of thousands of Christians.