(CNN) - About a third of Americans say blackface is sometimes OK for a Halloween costume, according to a Pew Research Center poll that reveals divides on the issue among political lines.
Wearing blackface is always acceptable for Halloween, 15% of respondents say, while another 19% said it's sometimes acceptable.
The survey was conducted mostly before recent controversies over blackface roiled politics in Virginia, where the governor and attorney general both admitted to darkening their skin as part of costumes. And there's a long line of politicians and celebrities who've gotten flack for wearing blackface.
The issue has sparked debate since it was discovered that Virginia Gov. Ralph Northam's medical school yearbook featured a picture of a man in blackface next to a person in a KKK outfit. Northam also admitted to wearing blackface to a party. Separately, the state's attorney general, Mark Herring, also a Democrat, admitted to wearing blackface to a party in college.
Now, according to Pew, barely more than a slight majority -- 53% -- of all American adults think its unacceptable for a white person to use blackface in a costume.
Blackface dates back to minstrel shows
The origins of blackface date back to the minstrel shows of mid-19th century. White performers darkened their skin with polish and cork, put on tattered clothing and exaggerated their features to look stereotypically "black."
The first minstrel shows mimicked enslaved Africans on Southern plantations, depicting black people as lazy, ignorant, cowardly or hypersexual, according to the Smithsonian's National Museum of African American History and Culture (NMAAHC).
The performances were intended to be funny to white audiences. But to black people, they were demeaning and hurtful.
Differences along political, racial lines
In the Pew survey, Republicans (and Republican-leaning independents) were much more likely to see blackface as acceptable than Democrats. A quarter of Republicans said it's always acceptable and half of Republicans said it was always or sometimes OK. Only 21% of Democrats and Democratic-leaning independents said it's always or sometimes OK.
The poll results also revealed a racial divide. Among white people, 39% thought blackface was always or sometimes acceptable as part of a Halloween costume, compared to only 18% of black people and 28% of Latinos. More than half of black Americans (53%) said blackface as a part of a Halloween costume is never acceptable.
White Americans between the ages of 18-29 were significantly more likely than those over 30 to believe that blackface isn't acceptable. Twenty-six percent of these younger white Americans said it was always or sometimes OK, compared to 39% percent of whites between 30-49 and 45% of 50-to-64-year-olds.
Significantly more Americans find it acceptable to dress as a person wearing traditional clothes from a country or culture other than their own as a part of their Halloween costume, an act sometimes referred to as "cultural appropriation." Almost 3 in 5 Americans said that it's always (26%) or sometimes (32%) acceptable.
Virginia in turmoil
Northam has resisted calls to step down since photos of a man in blackface and another in a Ku Klux Klan outfit emerged from his 1984 medical school yearbook. The governor denied being either man in the picture, but later admitted to darkening his face to resemble Michael Jackson during a dance contest in 1984.
In an interview with CBS's Gayle King, Northam said "the reality has really set in" as to why the use of blackface is offensive.
Herring admitted that he appeared in blackface at a party in 1980, where he dressed up like a rapper.
"That conduct clearly shows that, as a young man, I had a callous and inexcusable lack of awareness and insensitivity to the pain my behavior could inflict on others," Herring said in a statement. "It was really a minimization of both people of color and a minimization of a horrific history I knew well even then."
The Pew survey, conducted January 22 to February 5, includes an oversample of black and Hispanic respondents to provide more reliable estimates of those segments of the population. The overall data are weighted to provide a balanced representation of the US population as a whole.