One of the first acts of the new spouses was to sign a pact under which the monarchs granted to each other "soberana potestas" over the other's kingdom, declaring heir of both their future children, and in the case that the union was childless, the surviving spouse would succeed the other one in the throne.