The Transitional Federal Parliament elected the President and Prime Minister, and had the authority to pass and veto laws. It was also in charge of governance and administration of Mogadishu. Each of the four major clans held 61 seats, while an alliance of minority clans held 31 seats.