The real de a ocho, also known as the Spanish dollar, the eight-real coin, or "piece of eight" (Spanish peso de ocho), was a silver coin minted in the Spanish Empire after 1598. The Spanish dollar was widely used by many countries as international currency and was the coin upon which the original United States dollar was based. It remained legal tender in the United States until 1857.

More Info: en.wikipedia.org