Primates have co-opted a viral gene to produce an envelope protein that prevents infection by the HERV-T virus and likely contributed to the extinction of this virus. This evidence concerns the gene ERVW-1 and infection.