With the departure of the Portuguese, Sultan Baabullah made the fortress of São Paulo a fortress as well as a palace, he renovated and fortified the fort and then changed his name to Gamalama fortress.
Dengan kepergian orang Portugis, Sultan Baabullah menjadikan benteng Sao Paulo sebagai benteng sekaligus istana, ia merenovasi dan memperkuat benteng tersebut kemudian mengubah namanya menjadi benteng Gamalama.