The Republican Party was founded in 1854 by opponents of the Kansas–Nebraska Act, which allowed for the potential expansion of slavery into the western territories.