Tikal and Dos Pilas went to battle again in AD 679 and Tikal suffered a humiliating defeat by its smaller rival. Although Dos Pilas celebrated this as the victorious conclusion of the war, neither side had gained any real advantage over the other. For Dos Pilas, this battle represented the consolidation of its kingdom and the failure of Tikal to crush its splinter state before it gained a foothold. The hieroglyphic texts at Dos Pilas describe the victory in graphic terms, recording "pools of blood" and "piles of heads" as the result of a major battle between the two cities, with Dos Pilas very likely having received military aid from Calakmul. B'alaj Chan K'awiil consolidated his power with marriage alliances. He took at least two wives; his main wife was a noblewoman from Itzan, another city in the Pasión drainage. Their marriage produced Balaj Chan K'awiil's heirs, Itzamnaaj Balam and Itzamnaaj K'awiil. Balaj Chan K'awiil had a famous daughter with a second wife, this daughter was Lady Six Sky who was despatched to Naranjo to refound its obliterated dynasty. Balaj Chan K'awiil is known to have made several further visits to Calakmul; in 682 he celebrated a period ending ceremony there under Yuknoom the Great and in 686 he attended the enthroning of his successor, Yuknoom Yich'aak K'ak'.