In 2371, Dr. Tolian Soran managed to perfect the weapon, using trilithium stolen from the Romulans by Lursa and B'Etor, the sisters of Duras. The Duras sisters intended to use the weapon to conquer the Klingon Empire, after the failure of their attempt to seize control of it in 2368. Besides providing him with the material, they also helped Soran escape from the Amargosa observatory and provided him transport to the Veridian system.
However, Soran's only intended use for the weapon was to change the course of the energy ribbon that allowed entry into the Nexus. To achieve this, he used the weapon to detonate the Amargosa star, and then planned to destroy the Veridian star, but was stopped by Jean-Luc Picard and James T. Kirk. Soran was killed when his weapon's launch platform detonated on the surface of Veridian III. (Star Trek Generations)
The Changeling Julian Bashir created a trilithium weapon composed of trilithium, tekasite, and protomatter designed to destroy the Bajoran sun, destroying Bajor, space station Deep Space 9, and a combined Federation-Klingon-Romulan fleet that had been lured to the mouth of the Bajoran wormhole in anticipate of a Dominion invasion. His attempt was stopped by the USS Defiant, which hurled his stolen Danube-class runabout away from the sun, causing the bomb to detonate harmlessly in space. (DS9: "By Inferno's Light")