The guard had sexual relations with the prisoner.