Andrew, Duke of Calabria (30 October 1327 – 18 September 1345) was the first husband of Joanna I of Naples, and a son of Charles I of Hungary and brother of Louis I of Hungary. Background and engagement Andrew was the second of three surviving sons of King Charles I of Hungary and his third wife, Elizabeth of Poland. He was betrothed in 1334 to his cousin Joanna, granddaughter and heiress apparent of King Robert of Naples; Andrew's father was a fraternal nephew of King Robert, making Andrew and Joanna both members of the Capetian House of Anjou. Robert's claim to the throne was rather tenuous and did not follow primogeniture. Andrew's grandfather, Charles Martel of Anjou, had died young; therefore, the throne should have passed to Andrew's father. However, due to fears of impending invasion from Sicily, it was felt that a seven-year-old heir was too risky and would not be able to hold off invasions. The throne was offered to the next son of Charles II of Naples, Louis, but he refused on religious grounds, and it thus passed to Robert. To recompensate Andrew's father, Charles II decided to assign him the claim to Hungary. 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. Struggle for the crown 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. She also gave a ring to Andrew, which was supposed to protect him from death by blade or poison, and returned with a false sense of security to Hungary. When Joanna fell ill in the summer of 1344, Andrew caused great controversy when he released the Pipini brothers. They had been locked up by Robert the Wise after having been convicted for murder, rape, pillage, treason and several other offences. Their possessions had been given to other nobles, who now became increasingly hostile to Andrew. Murder and aftermath Hearing of the Pope's reversal, a group of noble conspirators (the involvement of Queen Joanna