Query: What years did the civil war take place?
Context: After several years of economic downturn and political instability, in 1997, Guinea-Bissau entered the CFA franc monetary system, bringing about some internal monetary stability. The civil war that took place in 1998 and 1999, and a military coup in September 2003 again disrupted economic activity, leaving a substantial part of the economic and social infrastructure in ruins and intensifying the already widespread poverty. Following the parliamentary elections in March 2004 and presidential elections in July 2005, the country is trying to recover from the long period of instability, despite a still-fragile political situation.