 Upon any possible refusal of the undivided Spanish possessions, the Crown of Spain would be offered next to Philip's younger brother Charles, Duke of Berry, or, next, to Archduke Charles of Austria.Both claimants, both Charles of Austria and Philip, had a legal right to the Spanish throne because Philip's grandfather, King Louis XIV of France and Charles's father, Leopold I, Holy Roman Emperor, were sons of Charles II's aunts, Anne and Maria Anna.Philip claimed primogeniture because Anne was older than Maria Anna.