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.
Hearing of the Pope's reversal, a group of noble conspirators (the involvement of Queen Joanna has never been proven) determined to forestall Andrew's coronation.
A treacherous servant barred the door behind him, and, as Joanna cowered in their bed, a terrible struggle ensued, Andrew defending himself furiously and shrieking for aid.
Andrew's elder brother Louis I of Hungary several times invaded the Kingdom of Naples and drove out Joanna, only to meet with reverses.