the indirect election of the president of the republic was institutionalized