Slavery became increasingly uncommon through the Middle Ages, replaced by serfdom by the 10th century, but began to revive again towards the end of the Middle Ages and in the Early Modern Era. The Byzantine–Ottoman wars (1265–1479) and the Ottoman wars in Europe (14th to 20th centuries) resulted in the capture of large numbers of Christian slaves.