however, the direct antecedent is at the beginning of the 19th century, first created by bonaparte in 1808 in imitation of the french model and a few years later, in 1812, the cortes of cádiz created it the secretariat of the dispatch of the governance of the kingdom and islands adjacent and the secretary of the dispatch of the governance of the kingdom for overseas. the vast majority of authors do not consider the department created by the napoleonic government as the original one, because of its invasor nature.