In "In Purgatory's Shadow", it is discovered that Dr. Bashir has been kidnapped, imprisoned for weeks, and, in the interim, replaced by a Changeling. The shapeshifter double sabotages efforts to close the Wormhole and attempts to destroy the Bajoran sun, leaving the path open for Dominion fleets to enter the Alpha Quadrant. In the following episode, "By Inferno's Light", the Cardassians become a member of the Dominion, and the Federation and Klingon Empire resolve to cast aside their mutual distrust and unite against the common threat. A garrison of Klingon troops is stationed on Deep Space Nine, under the command of the real General Martok, rescued from Dominion incarceration with Bashir. In "Blaze of Glory", the characters confront the issue of ethnic cleansing when the Maquis – a resistance group of former Federation citizens now living in Cardassian space – are hunted down and ask for the assistance of Sisko, who used to criticize their methods.