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 three face cards of each suit have pictures similar to the jack, queen, and king in the French deck, and rank identically.