The third section, built by the French Company Chemins de fer électriques du Jura (CFEJ), taking the line over the border was opened to the French town of Morez on 7 March 1921 giving a total length of 39 kilometers .