To pay a $15 debt he had taken from a friend, Walter Hunt, invented the safety pin in 1849. After patenting it, he sold the patent to W. R. Grace and Company for $400 and paid off the debt.
Though Hunt repaid his small debt and the company went on to make millions in the years to come.