In 1849, Walter Hunt invented the safety pin to pay off a $15 debt and sold the patent for $400, never realizing it would become a global invention.