The building was constructed between 1855 and 1858 as a judicial and administrative complex with a jail in the rear.