NEW YORK (AP) — Adriano Espaillat has conceded to longtime U.S. Rep. Charlie Rangel in a tightly contested Democratic primary that divided their New York City congressional district along demographic lines.

The Dominican Republic-born Espaillat's campaign says he called Rangel to offer his congratulations on his victory.

Thursday's call came a day after The Associated Press declared the 84-year-old Rangel the winner.

Rangel led the state senator 47.4 percent to 43.6 percent, a difference of fewer than 2,000 votes, with 100 percent of the vote counted in unofficial results.

Rangel didn't wait for Espaillat's concession or official confirmation before declaring victory. He said this will be his last term.