The 1901–1902 Costa Rican general election occurred under growing political tensions.[2] The authoritarian government of Rafael Yglesias was in direct confrontation with the opposition and had re-elected himself as single-candidate in the previous election by a questionable constitutional reform.[2] The liberal Republican Party represented the most staunch opposition and the country was on the edge of civil war. However, Yglesias managed to negotiate with the moderate branch of the Republicans for a peaceful power exchange.