The country 's five-year civil war formally ended in 2003 .