From rey (“king”); compare French vice-roi.
virrey m (plural virreyes, feminine virreina, feminine plural virreinas)