Why did Sudan split?

There was an ethnic conflict I believe, and one of them wanted to gain sovereignty.