Following Orléans' death in 1723, the Duke of Bourbon, representative of the Bourbon-Condé cadet line, became prime minister. It was expected that Louis would marry his cousin, the daughter of King Philip V of Spain, but this engagement was broken by the duke in 1725 so that Louis could marry Maria Leszczynska, the daughter of Stanislas, former king of Poland. Bourbon's motive appears to have been a desire to produce an heir as soon as possible so as to reduce the chances of a succession dispute between Philip V and the Duke of Orléans in the event of the sickly king's death. Maria was already an adult woman at the time of the marriage, while the infanta was still a young girl.