Hagia Sophia was an Orthodox basilica until 1453.
Still fits: Jabba’s palace used to be a monastery until the Empire-armed thugs took it over.