Ulloa did not confine his efforts to New Orleans, but established Spanish garrisons at several interior posts and issued ordinances regarding the Indian trade. In the spring of 1766, with Aubry, he visited the settlements between New Orleans and Natchitoches, and sent an officer to report on the best means of defending the upper posts against the English. In 1767 he sent Captain Francisco Ruí to establish posts on the lower Missouri at St. Charles and Bellefontaine.

The prohibition of trade with France, promulgated in October, 1768; caused a veritable insurrection in New Orleans, and Ulloa was expelled from the province. His departure was followed by a removal of the Spanish garrisons from the Missouri and elsewhere in the interior, and there was an interregnum of several months, during which Aubry governed.

O'Reilly.—Charles III now sent a man made of sterner stuff. He was Alexandro O'Reilly, an officer who had served with distinction in Europe, had reorganized the defences of Havana after the recent war, and was now recalled to cope with the situation in Louisiana. With 4500 regulars he reached Balize in July, 1769. There was renewed excitement. Some talked of independence and others of joining the English colonies; but Aubry counselled against resistance and the disturbance subsided.

His coup d'état.—King Charles had demanded nothing more severe than the sending of the leaders of the opposition to France, but O'Reilly was not so mild. By a ruse he arrested a number of prominent citizens, executed five and imprisoned others. For this violent deed he has become known as "The Bloody O'Reilly." If the government of Charles III had been imbued with a full sense of its responsibility, it would never have left unpunished such a violation of the fundamental rules of justice.

The Spanish régime installed.—For thirty-four years Louisiana remained under Spanish rule, and during that time it prospered as never before. O'Reilly governed for a year or more with great vigor, not as governor, but as special commissioner to establish Spanish authority. Possession was taken of the interior posts, and by the end of 1770 the Spanish flag had been raised at Ste. Genevieve, the last place to haul down the French emblem. Having accomplished his coup d'état, O'Reilly was conciliatory, and appointed numerous old French officers, like Villiers and De Mézières, to important positions. After authority had been established, the military force was reduced to 1200 men. Spanish law was installed, although the French Black Code was retained. New Orleans was given a cabildo with direct appeal to the Council of the Indies instead of to the Audiencia of Santo Domingo. Louisiana was put under a governor, the first incumbent being Luis de Unzaga y Amezaga. Each of the principal subdistricts was put under a Lieutenant-governor, Pedro Piernas going to St. Louis, Villiers to the Arkansas Post (now Fort Carlos III), and Athanase De Mézières at Natchitoches. Until 1771 Louisiana was an independent gobierno directly dependent on the Council of the Indies. In 1771 it was attached for military purposes to the captaincy-general of Havana, and for judicial matters to the Audiencia of Santo Domingo. In 1795 it was attached to the Audiencia of Havana. After 1783 West Florida and Louisiana were put under one governor. Later the province was divided into Upper and Lower Louisiana.

Unzaga and Gálvez.—Unzaga ruled till 1776, and proved popular, particularly since he shut his eyes to English smuggling in the lower Mississippi River. Unzaga's successor, Bernardo de Gálvez, nephew of the visitor, son of the viceroy, and himself a viceroy later, was a remarkable man. He too, was popular; he married a French wife, and stimulated tobacco raising by pledging himself to buy each year eight hundred pounds of tobacco.

Encouragement of commerce.—Trade regulations, as promulgated by Ulloa in 1766, restricted all trade to Spanish vessels, and certain specified Spanish ports. Under these conditions English smugglers very soon monopolized the trade of the lower Mississippi, and made their way among the tribes of the Gulf coast. This contraband Unzaga tacitly permitted for the good of the colony. In 1776 an agreement was made with France by which Louisiana was permitted to trade with the French West Indies, under the supervision of two French commissioners resident in New Orleans. Gálvez now promptly seized eleven English vessels and the commerce of the colony passed largely into the hands of the French. In 1778 the produce of the colony was admitted to any of the ports of France or the United States, and to any of the ports of Spain to which the commerce of any of the colonies was admitted. The exportation of furs was encouraged by exemption from duty for a period of ten years. English trade in Louisiana was now completely ruined. Under Spanish rule population grew steadily and by 1803 had reached about 50,000. After the American Revolution efforts were made to counter-colonize against the American advance.

The Spanish Frontier in the Later Eighteenth Century.