Passage: The United States and Spain disputed these lands east of the Mississippi River until Spain relinquished its claim with the Treaty of Madrid, initially signed in 1795 by the two countries' representatives. The Mississippi Territory was organized in 1798 from these lands, in an area extending from 31° N latitude to 32°28' North — or approximately the southern half of the present states of Alabama and Mississippi.The state of Georgia maintained a claim over almost the entire area of the present states of Alabama and Mississippi (from 31° N to 35° N), until it surrendered its claim in 1802 following the Yazoo land scandal. In 1804, Congress extended the boundaries of the Mississippi Territory to include all of the Georgia cession.In 1812, declaring that it had been included in the Louisiana Purchase (1803), the United States annexed the Mobile District of West Florida, between the Perdido River and the Pearl River. Spain disputed this and maintained its claim over the area. The following year, a Federal statute was secretly enacted authorizing the President to take full possession of this area with the use of military force ("and naval force") as deemed necessary.  Accordingly, General James Wilkinson occupied this district with a military contingent; the Spanish colonial commandant offered no resistance. This annexation extended the Mississippi Territory south to the Gulf of Mexico, with the northern border being the boundary of the state of Tennessee, taking in all of what is now Alabama and Mississippi.

Question: What was the military rank of the man who offered no resistance to  Wilkinson's forces?
commandant