Benito Pablo Juárez García was a Mexican politician, military commander, and lawyer who served as the 26th president of Mexico from 1858 until his death in office in 1872.