 As Joinville had been a close friend of the king, his counselor and his confidant, his testimony was invaluable to the inquest, where he appeared as a witness in 1282.At the request of Jeanne of Navarre, the queen, he began work on the "Histoire de Saint Louis", which he completed in 1309.Joinville died on 24 December 1317, over 93 years old, nearly fifty years after the death of Louis.