It was a case when procrastination definitely did not pay. Fortunately, someone came forward at the 11th hour to claim a nearly expired Powerball ticket worth more than $1.5 million, California Lottery officials said Monday.

The would-be winner submitted an official claim form on Monday — the day the ticket was set to expire.

The lottery will vet the claim to ensure it’s legitimate, a process that can take weeks or even months, officials said.

The ticket was purchased at a Mobil gas station at 15380 Los Gatos Blvd. and matched the five numbers — 19, 36, 37, 46 and 56 — from the Oct. 26 drawing, missing only the Powerball number 24. The ticket is worth $1,556,855, but that money would go to public school funding if it wasn’t claimed by Monday’s deadline.

Another ticket matching the same five numbers from the Oct. 26 drawing was purchased in Southern California and has already been claimed.

California Lottery officials say more than $1 billion in unclaimed prizes have gone to the state’s schools since lottery tickets first went on sale in California in 1985.

The California Lottery website provides details on how to claim a winning lottery prize.