Louis IX of France rebuilt the port in the 13th century . It was the only French port of the Mediterranean at that time . Louis IX of France ( Saint Louis ) rebuilt the port in the 13th century as France 's only Mediterranean port at that time .