Poker's origins trace back to a mix of European, Persian, and American influences. It evolved from games like the French poque and the German pochen, which involved betting and bluffing. The Persian game as nas also contributed elements of hand rankings and structured betting. Poker took shape in the early 19th century in the United States, particularly in New Orleans, spreading via riverboats and the frontier.