Andriambelomasina was also the grandfather of the great Merina King, Andrianampoinimerina. Believing that the part of the Kingdom of Imerina he ruled was threatened, Andriambelomasina had the strategic idea to marry his daughter Ranavalonanadriambelomasina to the King Andriamiaramanjaka of Ikaloy and Anjafy, a Zafimamy/Alahamadintany Kingdom north of Ambohimanga. The son born of this union, Andrianampoinimerina, would go on to reunify Imerina during his reign and extend his rule beyond the highlands of Madagascar, thereby establishing the basis for the unification of the entire island of Madagascar—an aim pursued and almost completely achieved by Andrianampoinimerina's son Radama I (1810–1831). Before his death, Andriambelomasina declared that his eldest son, Andrianjafy, would succeed him, and that his grandson Andrianampoinimerina would rule after Andrianjafy, thereby establishing the order of succession.