After reaching an agreement about it, they used the money to buy Potter's Field, as a cemetery for foreigners.
The chief priests picked up the coins and said, “This is blood money, and it is against our Law to put it in the Temple treasury.”
That is why that field is called “Field of Blood” to this very day.