 Philip began to reinstate a proper recompensation scheme in 1317, but the situation remained unstable.Both Philip and Robert turned away from seeking a military solution in favour of a political compromise.Accordingly, Robert made an accommodation with Philip in June 1320, under which Robert would confirm his young grandson, Louis, as his designated heir, in return for Louis being pledged in marriage to Philip's second daughter, Margaret.