Republican Bob Turner unleashed an attack in the first TV ad of his campaign to fill Anthony Weiner’s congressional seat yesterday, blasting Democratic rival David Weprin for supporting the controversial mosque near Ground Zero.

In the ad, Turner calls Park51, the planned Islamic center located near the site of the 9/11 attacks, “a purposeful and confrontational act of provocation.”

Set to appear on cable-TV networks in the Queens-Brooklyn district, the 30-second spot shows footage of the World Trade Center burning.

“It’s been 10 short years. Everyone remembers. Some, though, want to commemorate the tragedy by building a mosque on Ground Zero,” a narrator says.

“President Obama thinks that’s a good idea. And so does congressional candidate David Weprin.”

Weprin said it’s “shameful” for Turner to use 9/11 “for his own political gain.”

“I knew people who lost their lives that day, and Bob Turner dishonors their memory by politicizing the attacks on New York,” he said.