In 1897 discontent led an armed uprising by Blanco forces. The insurrection was led by Aparicio Saravia, a caudillo from a ranching family originally from the Brazilian state of Rio Grande do Sul who was involved in military and political affairs on both sides of the border. The Saravia revolution raised the flag of electoral guarantees, the secret ballot, and proportional representation. Military action had not yet decided the situation when President Borda was assassinated. The president of the Senate (the upper house of the General Assembly), Juan Lindolfo Cuestas (1897-1903), served as provisional president until 1899, when he was elected constitutional president. Cuestas quickly signed a peace agreement with the National Party, giving it control over six of Uruguay's departments and promising all citizens their political rights. An anticlericalist, Cuestas placed restrictions on the exercise of Roman Catholicism and tried to prevent admission to the country of friars and priests.