The Valiant was in the Kepla sector when the Dominion War began. Consequently, Ramirez ordered the Valiant back to Federation space. On their way home, the Valiant encountered a Cardassian battle cruiser near El-Gatark. The two ships began to attack each other and both ships lost main power. Ramirez himself was injured with a punctured lung, but managed to get the Valiant's systems back online and the Cardassian ship was destroyed.