General Question

How did the U.S. Dollar Bill receive the name "buck"?

“10 bucks on pump 5”. We all use this phrase, when we purchase gasoline and many other purchases. It’s a common slang word for the U.S. Dollar Bill. Question: So where and when did the dollar bill become a “buck”?