A Maryland man won a nearly $4 million jackpot while playing a slot machine at an Atlantic City casino.

The man was on vacation in the New Jersey shore town when he visited the Borgata Hotel Casino & Spa on Sunday, casino officials told the Press of Atlantic City.

He played a $5 Wheel of Fortune slot machine that offered a progressive jackpot, according to the report.

The man, who asked not to be identified, hit the $3,843,951 jackpot, reportedly the largest jackpot in the Borgata’s history.