Question: Battle of Cold Harbor and Korean War, were as a result of a war?

<P0-S0> The 7th Regiment Maryland Volunteer Infantry was a regiment that participated in the American Civil War. <P0-S1>  Edwin H. Webster was one of the regimental commanders. <P0-S2>  This regiment was inducted into service on May 15, 1861. <P0-S3>  After serving guard duty in the defenses of Washington, the regiment was sent to the Shenandoah Valley for operations. <P0-S4>  Their first combat came on March 13, 1863, when they repulsed a charge by the 5th Virginia Infantry regiment. <P0-S5>  They were sent to V Corps, Army of the Potomac. <P0-S6>  At the Battle of Gettysburg, they were forced to withdraw from the Peach Orchard early on the second day. <P0-S7>  They were among the units who repelled Pickett's charge. <P0-S8>  Th unit was stationed for garrison duty in southern Pennsylvania and was involved in skirmishes against some of Jubal Early's infantry units. <P0-S9>  Because of heavy losses at the Battle of Cold Harbor, they were sent as replacements to IV corps, Army of the Potomac. <P0-S10>  They suffered heavy casualties during the Siege of Petersburg, having to repel six charges by counterattacking units of the 15th Georgia Volunteer Infantry. <P0-S11>  They marched in the Grand review and were mustered out of service on June 3, 1865. <SEP> <P1-S0> The Korean War (in South Korean Hangul: 한국전쟁 ; Hanja: 韓國戰爭 ; RR: "Hanguk Jeonjaeng " , "Korean War"; in North Korean Chosŏn'gŭl: 조국해방전쟁 ; Hancha: 祖國解放戰爭 ; MR: "Choguk haebang chǒnjaeng " , "Fatherland Liberation War"; 25 June 1950 – 27 July 1953) was a war between North Korea (with the support of China and the Soviet Union) and South Korea (with the principal support of the United States). <P1-S1>  The war began on 25 June 1950 when North Korea invaded South Korea. <P1-S2>  The United Nations, with the United States as the principal force, came to the aid of South Korea. <P1-S3>  China came to the aid of North Korea, and the Soviet Union also gave some assistance to the North. <SEP> <P2-S0> The Battle of Cold Harbor was fought from May 31 to June 12, 1864, with the most significant fighting occurring on June 3. <P2-S1>  It was one of the final battles of Union Lt. Gen. Ulysses S. Grant's Overland Campaign during the American Civil War, and is remembered as one of American history's bloodiest, most lopsided battles. <P2-S2>  Thousands of Union soldiers were killed or wounded in a hopeless frontal assault against the fortified positions of Confederate Gen. Robert E. Lee's army. <SEP> <P3-S0> The Battle of Gaines's Mill, sometimes known as the First Battle of Cold Harbor or the Battle of Chickahominy River, took place on June 27, 1862, in Hanover County, Virginia, as the third of the Seven Days Battles (Peninsula Campaign) of the American Civil War. <P3-S1>  Following the inconclusive Battle of Beaver Dam Creek (Mechanicsville) the previous day, Confederate General Robert E. Lee renewed his attacks against the right flank of the Union Army, relatively isolated on the northern side of the Chickahominy River. <P3-S2>  There, Brig. Gen. Fitz John Porter's V Corps had established a strong defensive line behind Boatswain's Swamp. <P3-S3>  Lee's force was destined to launch the largest Confederate attack of the war, about 57,000 men in six divisions. <P3-S4>  Porter's reinforced V Corps held fast for the afternoon as the Confederates attacked in a disjointed manner, first with the division of Maj. Gen. A.P. Hill, then Maj. Gen. Richard S. Ewell, suffering heavy casualties. <P3-S5>  The arrival of Maj. Gen. Stonewall Jackson's command was delayed, preventing the full concentration of Confederate force before Porter received some reinforcements from the VI Corps.