The Andriana caste were originally the source of nobility and they specialized in the rituals and warrior occupations in the Merina society. However, in 19th century when Merina conquered the other kingdoms and ruled most of the island, a much larger army was needed, and the soldiers then included the Hova caste as well.  The Andriana benefited from numerous privileges in precolonial Madagascar. Land ownership in Imerina was reserved for the andriana class, who ruled over fiefs called menakely. The populace under the rule of an andriana lord owed him--and the king--a certain amount of free labor each year (fanompoana) for public works such as the construction of dikes, rice paddies, roads and town walls. Posts of privilege within the government, such as judges or royal advisers, were likewise reserved for certain groups of andriana.  The valiha, the national instrument of Madagascar, was originally an instrument of the masses but came to be affiliated with the noble class in the 19th century. The valiha featured heavily in the music of the Merina royal court performed at palaces such as Ambohimanga or the Rova at Antananarivo. The strings of the valiha were more easily plucked with the fingernails, which were commonly grown long for this purpose; long fingernails became fashionable and symbolic of belonging to the andriana class within the Kingdom of Imerina.  At Antananarivo, only andriana tombs were allowed to be constructed within town limits. Hovas (freemen) and slaves were required to bury their dead beyond the city walls. The highest ranks of andriana were permitted to distinguish their tombs by the construction of a small, windowless wooden tomb house on top of it, called a trano masina (sacred house) for the king and trano manara (cold house) for the Zanakandriana, Zazamarolahy and Andriamasinavalona. This tradition may have originated with King Andriantompokoindrindra, who is said to have ordered the first trano masina to be built on his tomb in honor of his memory.

Answer this question "Did this privileges last a long time?" by extracting the answer from the text above.