Indigenous freedom decreased in contrast to its period under the Jesuits, and the response to intermarriage was lukewarm at best. The crown's revenue from gold declined and plantation revenue increased by the time of Pombal, and he made provisions to improve each. Although he failed to spike the gold revenue, two short-term companies he established for the plantation economy drove a significant increase in production of cotton, rice, cacao, tobacco, sugar. Slave labor increased as well as involvement from the textile economy. The economic development as a whole was inspired by elements of the Enlightenment in mainland Europe. However, the diminished influence from states such as the United Kingdom increased the Kingdom's dependence upon Brazil. Encouraged by the example of the United States of America, which had won its independence from Britain, the colonial province of Minas Gerais attempted to achieve the same objective in 1789. However, the Inconfidência Mineira failed, its leaders were arrested, and of the participants in the insurrections, the one of lowest social position, Tiradentes, was hanged. Among the conspiracies led by the Afro- population was the Bahian revolt in 1798, led primarily by João de Deus do Nascimento. Inspired by the French Revolution, leaders proposed a society without slavery, food prices would be lowered, and trade restriction abolished. Impoverished social conditions and a high cost of living were among reasons of the revolt. Authorities diffused the plot before major action began; they executed four of the conspirators and exiled several others were exiled to the Atlantic Coast of Africa. Several more smaller-scale slave rebellions and revolts would occur from 1801 and 1816 and fears within Brazil were that these events would lead to a "second Haiti". In spite of the conspiracies, the rule of Portugal in Brazil was not under serious threat. Historian A.R. Disney states that the colonists did not until the transferring of the Kingdom in 1808 assert influence of policy changing due to direct contact, and historian Gabriel Paquette mentions that the threats in Brazil were largely unrealized in Portugal until 1808 because of effective policing and espionage. More revolts would occur after the arrival of the court. In 1808, Napoleon Bonaparte invaded Portugal, and Dom João, Prince Regent in place of his mother, Queen Maria I, ordered the transfer of the royal court to Brazil. In 1815 Brazil was elevated to the status of Kingdom, the Portuguese state officially becoming the United Kingdom of Portugal, Brazil and the Algarves ("Reino Unido de Portugal, Brasil e Algarves"), and the capital was transferred from Lisbon to Rio de Janeiro, the only instance of a European country being ruled from one of its colonies.