U.S. Sen. Judd Gregg wins $853,492

On a whim prompted by the frenzy over Wednesday's $340 million (Ђ284.45 million) Powerball lottery jackpot, the New Hampshire Republican bought a ticket that matched five of the six numbers in the Powerball game.

He collected a $853,492 (Ђ714,040) check Thursday. Gregg spent $20 (Ђ16.73) on tickets this week at a Washington gas station, allowing the ticket machine to generate his numbers at random. As he was leaving, a clerk ran after him because he had left one of the tickets behind.

The lawmaker said he doesn't buy lottery tickets often but was intrigued by the publicity surrounding the huge jackpot. "Every American believes in good fortune and good luck and I'm no different," he said.

Gregg, 58, said he will donate part of his winnings to the Hugh Gregg Foundation, which supports New Hampshire charities and is named after Gregg's late father, a former governor of New Hampshire.

According to his latest financial disclosure form, Gregg has between $1.5 million (Ђ1.25 million) and $6.2 million (Ђ5.19 million) in stocks and other major investments.

The only jackpot-winning ticket was sold in Jacksonville, Oregon. The holder of the ticket did not immediately step forward to claim the largest jackpot in Powerball history and the second-biggest in U.S. history. Gregg's ticket was one of 49 that matched five of the six numbers, AP reports.