The IF Castle of Marseille , built by the French king Francis the Ist in 1524, was later used as a state jail. The castle was made famous when Alexandre Dumas , the 19th-century French writer, used it as one of the settings in his novel The Tale of Monte Cristo (1844-45).