 
 <prompt> Wetin be di secondary function of di party? Based on di previous question, write a context wey contain di answer. E fit be 1 - 20 sentences. Context: <response>: Wen dem beat Confederacy for 1865, na so Reconstruction Era start. United States cancel slavery without paying slave owners or compensating freedmen. Republican Party coalition of black freedmen, northern carpetbaggers and local scalawags control state government for three years. White conservative Democrats come back control state legislature for 1870, partly because of Ku Klux Klan violence and terrorism for polling stations, to stop black people from voting. Republicans dey win governorship until 1876, wen Red Shirts, wey be paramilitary group wey start for 1874 and dey support Democratic Party, help stop black people from voting. More than 150 black Americans die for electoral violence for 1876. 