Who were fighting each other in this battle and what's the consequence of it
The Battle of Kuningtou or Battle of Guningtou, also known as the Battle of Kinmen, was a battle fought over Kinmen in the Taiwan Strait during the Chinese Civil War in 1949. The failure of the Communists to take the island left it in the hands of the Kuomintang (Nationalists) and crushed their chances of taking Taiwan to destroy the Nationalists completely in the war.
Chinese Nationalist and Chinese Communists fought this battle during Chinese Civil War in 1949. Chinese Nationalist won the battle which deterred Chinese Communists from taking over Taiwan, the last stronghold of Chinese Nationalist government fled from mainland in 1949 until today.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
The Battle of Kuningtou or Battle of Guningtou, also known as the Battle of Kinmen, was a battle fought over Kinmen in the Taiwan Strait during the Chinese Civil War in 1949. The failure of the Communists to take the island left it in the hands of the Kuomintang (Nationalists) and crushed their chances of taking Taiwan to destroy the Nationalists completely in the war.
----------------
Answer the following query.
Who were fighting each other in this battle and what's the consequence of it

user
Chinese Nationalist and Chinese Communists fought this battle during Chinese Civil War in 1949. Chinese Nationalist won the battle which deterred Chinese Communists from taking over Taiwan, the last stronghold of Chinese Nationalist government fled from mainland in 1949 until today.
assistant