As a fort, Salvador was built strategically by the Portugueses in the highest part of the hill so they could have a privileged view and to protect the city.