Josef Madersperger was born on 6 October 1768 in Kufstein, the son of a master tailor. He learned the trade from his father and moved to Vienna with him in 1790 because the parental home in Tyrol had burned down. As a tailor he was occupied with the idea of mechanising sewing. At first he imitated the movement of the sewing hand, then around 1810 he had the decisive idea: to move the opening for the thread into the point of the needle, pierce the cloth from one side only and pass a thread through the loop on the other. With this he had found essential features of today's sewing machine.
In 1814 he applied for a privilege, which he received in 1815. But he could not pay the fees, and the privilege lapsed after a few years. He never put his invention to use; that was achieved only in 1846 by the American Elias Howe. In 1839 he gave his model to the Polytechnic Institute because he lacked the money for a factory. His sewing device still works today and stands in the Technisches Museum Wien. He received a bronze medal from the Lower Austrian trade association.
In 1850 Madersperger moved with his wife into the poorhouse in St. Marx and died there on 2 October 1850. That he died utterly destitute is regarded as a legend. He was buried in the Sankt Marxer Friedhof, near the place where Mozart rests. The Viennese tailors' guild maintains a cast-iron cross there. In 1933 a monument to him was unveiled in the Resselpark. On the site of the poorhouse the Madersperger-Hof was built in 1953 to 1956, with a memorial plaque.
