The correct option is B Spain
The Treaty of Adams-Onis or Treaty of Transcontinentality of 1819-1821 (formerly entitled Treaty of friendship, settlement of differences and boundaries between his Catholic Majesty the King of Spain and the United States of America, the treaty was the result of negotiation between Spain and the United States to fix the border between the North American nation and the then viceroyalty of New Spain.The border was set beyond the Sabina River and Arkansas to the 42nd parallel north.As a result, Spain renounced its possessions beyond The latitude, including the territory of Oregon, also ceded definitively to the Floridas, Louisiana, and navigation on the Mississippi River.The Spanish Crown remained the sole sovereign of Texas, a territory that the United States claimed as part of Louisiana. It was bought from the French in 1803.