Tā fǒurèn zài rènzhí qījiān yǔ xiàshǔ fāshēng guānxi.
He denied having had sexual relations with a subordinate while in office.
Tips
register
A polite euphemism for sex: more neutral than 做爱 and less clinical than 性交. Because of that, avoid it for the older literal sense "to have dealings with". That sense survives mostly with a word in between, as in 发生业务关系 "to have business dealings".