Joanna I of Naples
Charles managed to depose her maternal aunt Queen Joanna I of Naples in 1382. He succeeded her and Margaret became his queen consort. Charles succeeded James of Baux as Prince of Achaea in 1383 with Margaret still as his consort.