What did the 13th amendment of the US Constitution grant?

it gave the right to free slaves

The 13th Amendment abolished slavery. Because slavery was not given as a Constitutional right, this amendment is not amending a specific article of the Constitution, it is simply making slavery unconstitutional.

The amendment was necessary because in 1857, the US Supreme Court ruled that slavery was legal.