Mr. Garang was a key figure in the peace accord reached this year between the Sudanese government and southern rebels to end a 21-year civil war .