Sudan and South Sudan experienced one of the longest-running civil wars on the continent, from 1983 until a ceasefire in 2005. South Sudan gained independence in a referendum in 2011.