Original: Based on the terms of the treaty, Raymond's daughter was to be married to Louis' brother.
Simplified: Th treaty also said that Raymond's daughter was to be married to Louis' brother.