STAR TREK: DEEP SPACE NINE takes place in the mid-24th century and chronicles the adventures of a team of Starfleet officers who take command of a remote alien space station on the edge of a new frontier.
When Grand Nagus Zek is deposed, Quark poses as a female to help him regain his power.
S6E23 45 min