How did the Dollar Sign Originate?

The sign,

, used in this country to signify a dollar, is supposed to date from the time of the pillar dollar in Spain. This was known as the “Piece of Eight” (meaning eight reals), the curve being a partial representation of the figure 8. The two vertical strokes are thought to represent the Pillars of Hercules, which were stamped upon the coin itself.