I had to look up Madagascar's castle: https://en.wikipedia.org/wiki/Rova_of_Antananarivo
The Rova of Antananarivo /ˈruːvə/ (Malagasy: Rovan'i Manjakamiadana [ˈruvᵊn manˌdzakəmiˈadə̥nᵊ]) is a royal palace complex (rova) in Madagascar that was the home of the sovereigns of the Kingdom of Imerina in the 17th and 18th centuries, as well as of the rulers of the Kingdom of Madagascar in the 19th century. Located in the central highland city of Antananarivo, the Rova occupies the highest point on Analamanga, formerly the highest of Antananarivo's many hills.