How long did Oklahoma belong to Spain?

by TangoBreve

Based on my understanding, Oklahoma was explored on a number of occasions before being declared a part of New Spain. And, territories changed hands between Spain and France and the U.S. However, keeping that all in mind, how long (in total years) was Oklahoma a part of the Spanish empire, did it belong to Spain, etc?

abt137