I want to know the answer to the following question:
When did the Habsburgs  sell the Sundgau territory to France?
All the background I'm provided with is that "This situation prevailed until 1639, when most of Alsace was conquered by France so as to keep it out of the hands of the Spanish Habsburgs, who wanted a clear road to their valuable and rebellious possessions in the Spanish Netherlands.". Is that enough to answer the question?