Remove the spaces from the following sentence: The town's most important legacy is its association with Henry the Navigator, who lived near here and who allegedly chose Sagres as a location for his legendary school of navigation and the departing point for the first caravels on their exploratory journeys of the 15th century.
Thetown'smostimportantlegacyisitsassociationwithHenrytheNavigator,wholivednearhereandwhoallegedlychoseSagresasalocationforhislegendaryschoolofnavigationandthedepartingpointforthefirstcaravelsontheirexploratoryjourneysofthe15thcentury.