When King Robert died in 1343, in his last will and testament, he formally bequeathed his kingdom to his granddaughter Joanna, making no mention of Andrew and thus denying him the right to reign along with Joanna. With the approval of Pope Clement VI, Joanna was crowned sole monarch of Naples in August 1344. Fearing for his life, Andrew wrote to his mother Elizabeth that he would soon flee the kingdom. She intervened, and made a state visit, before she returned to Hungary allegedly bribing Pope Clement to reverse himself and permit the coronation of Andrew.