Passage: Madagascar is a semi-presidential representative democratic multi-party republic, wherein the popularly elected president is the head of state and selects a prime minister, who recommends candidates to the president to form his cabinet of ministers. According to the constitution, executive power is exercised by the government while legislative power is vested in the ministerial cabinet, the Senate and the National Assembly, although in reality these two latter bodies have very little power or legislative role. The constitution establishes independent executive, legislative and judicial branches and mandates a popularly elected president limited to three five-year terms.The public directly elects the president and the 127 members of the National Assembly to five-year terms. All 33 members of the Senate serve six-year terms, with 22 senators elected by local officials and 11 appointed by the president. The last National Assembly election was held on 20 December 2013 and the last Senate election was held on 30 December 2015.At the local level, the island's 22 provinces are administered by a governor and provincial council. Provinces are further subdivided into regions and communes. The judiciary is modeled on the French system, with a High Constitutional Court, High Court of Justice, Supreme Court, Court of Appeals, criminal tribunals, and tribunals of first instance. The courts, which adhere to civil law, lack the capacity to quickly and transparently try the cases in the judicial system, often forcing defendants to pass lengthy pretrial detentions in unsanitary and overcrowded prisons.Antananarivo is the administrative capital and largest city of Madagascar. It is located in the highlands region, near the geographic center of the island. King Andrianjaka founded Antananarivo as the capital of his Imerina Kingdom around 1610 or 1625 upon the site of a captured Vazimba capital on the hilltop of Analamanga. As Merina dominance expanded over neighboring Malagasy peoples in the early 19th century to establish the...

Question: In the country of madagascar legislative power rests with which groups?
ministerial cabinet, the Senate and the National Assembly