Dagobert preferred to envelop the Spanish position from the west, but Fabre and the other generals persuaded him to make a frontal attack. So he sent General of Brigade Louis Antoine Goguet's division to assault the Spanish left flank at Thuir while sending a flanking column to attack that town from the west. D'Aoust's division was ordered to attack the Spanish right flank at Mas Deu, while Dagobert led his own division in an attempt to pierce the Spanish center. Believing that Thuir was the focus of the main French effort, Ricardos posted General Crespo and only 3,000 men to defend the Spanish right. He shifted the troops of LG Pedro Téllez-Girón, 9th Duke of Osuna and LG Luis Firmín de Carvajal, Conde de la Unión to hold Thuir. Dagobert's attack pushed back the Spanish center and forced its way into the main camp at Trouillas. Meanwhile, Goguet ran into a concentration of Spanish infantry and artillery on the west flank at Thuir and was beaten. Ricardos personally led a cavalry charge to break up the flanking column, then he returned to the crisis of the battle in the center. D'Aoust merely skirmished with Crespo near Mas Deu and never mounted a serious threat to the Spanish right. This allowed Ricardos to mass his cavalry against Dagobert's division. After disposing of Goguet, de la Unión marched to Trouillas to take the French center in reverse. Three French demi-brigades were surrounded and many prisoners taken. After an all-day battle Dagobert retreated northeast to Canohès.