 Since 1728, it had been the location of the Royal Orphanage but this too was lost in the fire and was moved to other locations around the city.The new building, which was to serve both as a City Hall and a courthouse, was designed by Christian Frederik Hansen, the leading Danish architect of the time.Completed in 1815, the project also included a jailhouse next door, connected to the courthouse by an arch with a passageway.