When was capital punishment brought over from Europe to the America?

when was capital punishment brought in to the contries