In imperial administration, the church had very important roles: functioning as registrar for births, deaths, weddings, and even for the recording of property (the control of this in the Portuguese Empire, which was based in a donation system, became, until recently, a huge problem in the Brazilian economy and Brazilian politics).