In 1804, the innovative French merchant and weaver Joseph-Marie Jacquard patented his invention of the use of cards with small punched holes which held weaving instructions to create a pattern on the Jacquard Loom machine, used to weave fabrics. Each card contained a different combination of punched holes, corresponding to the pattern they represented. The Jacquard Loom mechanism used pins to locate the position of the holes on the card. The location of the holes in the card determined which warp threads (vertical threads attached to the loom) are raised to allow the weft thread (horizontal thread) to pass under them.