President Nimeiri imposed Islamic Sharia on Sudan in 1983 , a move that alienated the largely non-Muslim south , and is widely viewed as the catalyst for the nation 's 22-year civil war .