Its knowledge and uses spread from China through the Middle East to medieval Europe in the 13th century, where the first water powered paper mills were built. In what century did the papermaking process spread from China to Europe?