Playing cards, originally of Chinese origin, were adopted in Mamluk Egypt by the 14th century if not earlier, and from there spread to the Iberian peninsula in the latter half of the 14th century. The Spanish word "naipes" is loaned from "nā'ib", ranks of face cards found in the Mamluk deck. The earliest record of "naip" comes from a Catalan rhyming dictionary by Jaume March II in 1371, but without any context or definition. By 1380, "naipero" (card-maker) was a recognized profession. In December 1382, card games were banned from being played in Barcelona's corn exchange. Valencia's town council issued a blanket ban on "un novell joch apellat dels naips" (a new game called cards) in 1384.