Presidential hopeful Mike Bloomberg takes credit for leading New York “through” the 9/11 attacks in a campaign ad.

But there’s one problem: He didn’t become mayor until four months later.

Touting his leadership chops, the billionaire released a 30-second video including the claim.

“I led a complex, diverse city through 9/11 and I have common-sense plans to move America away from the chaos to progress,” Bloomberg, 78, is seen saying at a campaign rally.

But Rudy Giuliani was mayor during the attacks, and he didn’t hand Bloomberg the keys to Gracie Mansion until Jan. 1, 2002.

The businessman has so far poured $500 million of his $62 billion personal fortune into his campaign, including flooding the airwaves with campaign ads.

Bloomberg served three terms as mayor — twice as a Republican and once as an independent.

He was praised for leading the rebuilding of a decimated Lower Manhattan in the decade after the attack, but was considered wooden when it came to connecting with victims’ families compared to his predecessor, Giuliani.