A Castleford man charged with imprisoning a female will stand trial later this year.
Nathan Holding of Armitage Street is accused of holding a female against her will and assaulting her at a flat on Fulmar Road in June.
The road was cordoned off by police at the time.
The 26-year-old denies both charges.
He appeared at Leeds Crown Court via video link from HMP Leeds on Monday.
He will remain in custody until his trial which has been set for December 17, and it is expected to last two days.