Aimery II was killed at the Battle of Fraga on July 17, 1134, fighting against the Almoravids along with Alfonso I of Aragon. Aimery left only two underaged daughters as his heirs, Ermengarde and her half-sister Ermessinde (daughter of Aimery's second wife, also named Ermessinde). Aimery had at least one son, also called Aimery, attested in numerous charters, but he predeceased him (ca. 1130). Thus, the approximately five-year-old Ermengarde inherited the viscounty of Narbonne, which occupied a strategic place in the politics of Languedoc: it was desired by the counts of Toulouse, the counts of Barcelona, the Trencavel viscounts of Carcassonne, and the lords of Montpellier.