The Law of Portugal was applied in Brazil until its independence in 1822. After the independence, the Portuguese laws continued in force, gradually being supplemented or amended by the laws of the Empire of Brazil and latter by the Brazilian republican laws. Although already separate, having an independent development and receiving other influences, the Law of Brazil continued to be very influenced by the Law of Portugal, given the cultural affinities between the two countries, the high number of Portuguese residents in Brazil and also the fact that many Brazilian jurists received their training in law in the University of Coimbra.
The legal framework of Brazil was influenced by Portuguese law until its independence in 1822, after which it continued to be shaped by Brazilian laws and those of the Empire of Brazil, eventually evolving into the laws of the Republic of Brazil.