A major problem in the development of the first sewing machine was the location of the eye of the needle. Inventor Elias Howe was rapidly running out of money and ideas when one night he had a peculiar dream. He was being led to his execution for failing to design a sewing machine for the king of a strange country. He was surrounded by guards, all of whom carried spears that were pierced near the head. Realizing instantly that this was the solution to his problem, Howe woke up and rushed straight to his workshop. By nine oclock that morning the design of the first sewing machine was well on the way to completion.