Before President Benito Juárez was forced to flee, Congress granted him an emergency extension of his presidency, which would go into effect in 1865 when his term expired, and last until 1867