The monarchs of Nepal were members of the Shah dynasty who ruled over the Kingdom of Nepal from 1743 to its dissolution in 2008. However, from 1846 until the 1951 revolution, the country was de facto ruled by the hereditary prime ministers from the Rana dynasty, reducing the role of the Shah monarch to that of a figurehead. In November 1990, after the Jana Andolan movement, the new Constitution was adopted and the country became a constitutional monarchy. The monarchy was abolished on 28 May 2008 by the 1st Constituent Assembly and the country was declared a federal parliamentary republic, in the aftermath of the 2006 Loktantra Andolan movement.