Former U.S. president Donald Trump speaks in support of candidates Doug Mastriano and Mehmet Oz during a rally in Wilkes-Barre, Pennsylvania
Pennsylvania Republican gubernatorial candidate Doug Mastriano attends a rally held by former U.S. President Donald Trump in Wilkes-Barre, Pennsylvania, U.S., September 3, 2022.  

Pennsylvania Democratic gubernatorial candidate Josh Shapiro on Wednesday plans to debut a new online ad aimed at Black voters that features his Republican rival posing in a Confederate military uniform, the campaign told Reuters.

The ad features a photo first reported last month of Doug Mastriano, a Donald Trump-backed candidate and state senator, wearing the uniform in a faculty photo at the Army War College. The photo obtained by Reuters showed Mastriano in a 2013-14 portrait for the Department of Military Strategy, Plans, and Operations, where he worked.

Faculty at the time had been given the option of dressing as a historical figure and at least 15 of the 21 faculty in the photo opted to appear in regular attire. Mastriano was the only one wearing a Confederate uniform.

Mastriano, who has not responded to Reuters requests for comment, came under fire from Shapiro, who said it was a "traitor's" uniform that has come to symbolize racism.

The new ad features a close-up view of Mastriano in the Confederate uniform with a voice over that notes the War College said the photo failed to meet the War College's values.

"Does it reflect your values?" the narrator asks.

The six-figure ad campaign is part of $1.2 million that Shapiro, the state's attorney general, has budgeted for digital ads.

Pennsylvania plays an outsized role in U.S. politics as a swing state in presidential elections, and Mastriano, who has embraced Trump's stolen election lies, is trailing in polls and in fundraising ahead of the Nov. 8 contest.

The winner of the governor's race will choose the state's top elections official, who will oversee its 2024 presidential election. The governor will also have the power to block or advance efforts by the Republican-led state legislature to severely restrict abortions.

Displays of Confederate symbols are painful reminders to many of racial oppression and the Civil War, which saw 11 rebelling Confederate states fight to keep Black people enslaved.

The U.S. military issued a de facto ban on displaying the Confederate flag and has sought to remove segregationist symbols from bases and academic institutions following the murder in May 2020 of George Floyd, a Black man whose killing by a white police officer in Minneapolis triggered protests worldwide.

The War College removed the photo from a display after Reuters inquired about it.

Candidate Shapiro hosts a news conference on Mastriano confederate soldier photo
Josh Shapiro, Pennsylvania's attorney general who is running for Pennsylvania governor listens to Pennsylvania State Representative Austin Davis who is running for Lieutenant Governor at a news conference with Black leaders, after Reuters published an image of Donald Trump-backed Pennsylvania gubernatorial candidate Doug Mastriano posing in Confederate uniform for a faculty photo at the Army War College, in Philadelphia, Pennsylvania, U.