In European history, the Middle Ages or medieval period lasted from the 5th to the 15th century. What century saw the end of the Middle Ages?