 The site retained this role until the late 18th century, when King Andrianampoinimerina (1787–1810) of Ambohimanga led a series of attacks beginning in 1792 that culminated in the capture of Antananarivo and its incorporation into the newly reunified Kingdom of Imerina.After Andrianampoinimerina reunited the divided and warring Kingdom of Imerina, he successfully pursued an expansionist policy that saw his authority extended over a large portion of Madagascar by the time of his death in 1810.Having captured Antananarivo by 1793 and transferred his capital from Ambohimanga to Antananarivo the following year, Andrianampoinimerina established new structures on the Rova grounds that would become imbued with the political and historic significance of his reign.