Partido Liberal Mexicano
After the invaded Ciudad Juarez, Leyva decided to join the party, naming Francisco I. Madero commander of forces in Baja California and then political head of Cuajimalpa in the Federal District. He was part of the committee that met in Los Angeles in June 1911 with the organizing meeting of the Mexican Liberal Party so that it desist from armed struggle and recognize the triumph of Madero and Francisco León de la Barra as provisional president, according to the Treaty of Ciudad Juárez.