After four years of legal residency in Brazil, you can apply for Brazilian citizenship. However, if you're married to a Brazilian or have a Brazilian child, you can apply after only one year of staying in Brazil. You'll need to show that you have no criminal record and have some knowledge of the Portuguese language.