The use of Sharia in Sudan ended in September 2020, when Sudan officially became a secular state after Sudan's transitional government agreed to separate religion from the state, ending 30 years of Islamic rule and Islam as the official state religion in the North African nation.[82][83][84] It also scrapped the apostasy law and public flogging.[85]