Q:

Why did the Republican party split into the Democratic-republican and the national republican parties

Answer

The Compromise of 1850 split the Republican party along pro-slavery and anti-slavery lines. ChaCha!