Please answer the following question: Given the following passage  "The war started badly for the US and UN. North Korean forces struck massively in the summer of 1950 and nearly drove the outnumbered US and ROK defenders into the sea. However the United Nations intervened, naming Douglas MacArthur commander of its forces, and UN-US-ROK forces held a perimeter around Pusan, gaining time for reinforcement. MacArthur, in a bold but risky move, ordered an amphibious invasion well behind the front lines at Inchon, cutting off and routing the North Koreans and quickly crossing the 38th Parallel into North Korea. As UN forces continued to advance toward the Yalu River on the border with Communist China, the Chinese crossed the Yalu River in October and launched a series of surprise attacks that sent the UN forces reeling back across the 38th Parallel. Truman originally wanted a Rollback strategy to unify Korea; after the Chinese successes he settled for a Containment policy to split the country. MacArthur argued for rollback but was fired by President Harry Truman after disputes over the conduct of the war. Peace negotiations dragged on for two years until President Dwight D. Eisenhower threatened China with nuclear weapons; an armistice was quickly reached with the two Koreas remaining divided at the 38th parallel. North and South Korea are still today in a state of war, having never signed a peace treaty, and American forces remain stationed in South Korea as part of American foreign policy.",  answer the following question. Note that the answer is present within the text.  Question: When did the Chinese actively enter the war
A:
As UN forces continued to advance toward the Yalu River on the border with Communist China