Star Trek: Deep Space Nine
Episode: DS9 516 - Business as Usual

Aristocratic, but merciless, arms merchant, Hagath works for the Regent of Palamar. Hagath wanted Quark to supply a biogenic weapon capable of killing 28 million people. Quark duped both Hagath and his enemy, General Nassuc, and thus averting mass destruction.