The marriage of Eleanor of Aquitaine to Louis VII was annulled because of consanguinity within the fourth degree. This means that the two were too closely related to be married. They were both descended from Charlemagne, and their marriage was considered to be incestuous. As a result, the marriage was annulled in 1152.
The Remarkable Reign of Eleanor of Aquitaine: A Journey through 12th-Century History