NEW YORK — The tightly contested Democratic primary race between longtime US Representative Charles Rangel and state Senator Adriano Espaillat has taken on an uncomfortable edge, with accusations of racial politics in a historically black district that is now majority Hispanic.
The back-and-forth in the first of a pair of debates this month prompted calls by Mayor Bill de Blasio of New York and the Rev. Al Sharpton for the candidates to focus on issues before the June 24 primary in the 13th Congressional District.
Rangel, who turned 84 this week and is seeking a 23d term, has accused Espaillat, who would be the first Dominican-born member of Congress if elected, of trading more on ethnic ties and pride than on his record.
‘‘He wants to be the Jackie Robinson of the Dominicans in the Congress,’’ Rangel said at a debate earlier in June, adding that Espaillat should tell voters ‘‘just what the heck has he done besides saying he’s a Dominican?’’
Espaillat, 59, expressed disappointment in Rangel’s jabs, saying, ‘‘It saddens me that the congressman has to stoop and lower himself to these kind of unfounded attacks.’’
But Espaillat has brought ethnicity into his quest to represent the area in the past. In 2012, the first time he ran, his campaign was responsible for a flier that accused another Dominican official of ‘‘betraying his community’’ for his support of Rangel.
Espaillat has said in connection to the flier that ‘‘things were said . . . that were not exactly the right thing to say about anybody,’’ but Rangel has not let go, revisiting the issue at their most recent debate Wednesday.
‘‘It’s just a wrong thing to do when you say that someone who talks like you, looks like you, has an obligation to vote with you under the threat of being a traitor,’’ Rangel said.
Issues of ethnicity have come up because the boundaries of the district were redrawn after the last decennial census, taking out some of the lower part around Columbia University and adding a small part of the Bronx.
Hispanics, including a growing Dominican community, now make up the majority of residents, while the black population is roughly stable and the white population has decreased.
It is not unusual for racial or ethnic groups in an area who make up a large part of its residents to push for greater representation. Rangel won his first congressional term in 1970 by defeating legendary Harlem politician Adam Clayton Powell, who became the first black congressman from New York in 1944 as African-Americans were pushing for more political power.
‘‘What we see here is two groups basically fighting it out through the congressional race between Rangel and Espaillat,’’ said Fredrick Harris, a political science professor at Columbia University.