The Supreme Court of Canada has dismissed an appeal from a Quebec man who tried to claim a $27 million jackpot based on a lottery ticket printed seven seconds after the cut-off time.

On Thursday, Canada’s top court said it would not hear Joel Ifergan’s lottery case. The SCC dismissed his request for an appeal with costs.

Ifergan purchased two lottery tickets for the May 23, 2008 Super 7 draw at 8:59 p.m., one minute ahead of the weekly draw deadline. His first ticket printed with the May 23 draw date on it, but his second one came out seven seconds after 9:00, with the May 30 draw date printed at the top.