It's like the Philippines. After the US ousted the Spanish from the Philippines in the Spanish-American War, US troops occupied the country, imposed democracy on our terms, and fought a bloody guerrilla war for fourteen years that resulted in over 9,000 American casualties and at least a quarter of a million Filipino deaths. A spooky parallel can be drawn by the United States declaring the Philippines War over 11 years before it actually ended. Read all about it.
I'll leave you with a quote about the War from Mark Twain,