 In 1834, there were repairs by the Public Works department to adapt the convent to receive the "Tribunal do Juízo de Direito do 3º Distrito" ("3rd District Judges' Law Court").The church was never fully rebuilt and rented out as sawmilling shop (in June 1835), before the religious orders were expelled from the country.At that time the first and second companies of infantrymen for the municipal guard were stationed at the convent and, later, the first cavalry squadron in 1845.