Louis IX of France
At the urging of Louis IX of France, Thomas married Joanna, Countess of Flanders and Hainaut, widow of Ferdinand, Count of Flanders and daughter of the Latin Emperor Baldwin I, in 1237.