The "general accord" between Louis and the royal couple of Naples "was accepted by both sides" during 1351, according to the contemporaneous Niccolò Acciaioli. Joanna I and her husband returned to the Kingdom of Naples and Louis's troops were withdrawn. Louis even renounced the ransom that Joanna I had promised to pay for the liberation of the imprisoned Neapolitan princes, stating that he had not gone to "war for greed, but to avenge the death of his brother". Louis continued to use the titles of his grandfather, Charles Martel of Anjou (the firstborn son of Charles II of Naples), styling himself as "Prince of Salerno and lord of Monte Sant'Angelo".