Robert the Wise, King of Naples, died on 20 January 1343. In his testament, he declared his granddaughter, Joanna I, his sole heir, excluding Louis's younger brother, Andrew, Joanna's husband, from becoming co-ruler. Louis and his mother regarded this as an infringement of a previous agreement between the late kings of Naples and Hungary. He visited his bride's father, Charles of Moravia, in Prague to persuade him to intervene on Andrew's behalf with Charles's former tutor, Pope Clement VI, the overlord of the Kingdom of Naples. Louis also sent envoys to his Neapolitan relatives and the high officials of the kingdom, urging them to promote his brother's interests. Their mother, Elizabeth, left for Naples in the summer, taking with her almost the whole royal treasure, including more than of silver and of gold. During her seven-month-long stay in Italy, she was only able to persuade her daughter-in-law and the pope to promise that Andrew would be crowned as Joanna's husband.