In February 1945 the Yalta Agreement promised to the Soviet Union South Sakhalin and the Kuril islands in return for entering the Pacific War against the Japanese during World War II. In August 1945 the Soviet Union mounted an armed invasion of South Sakhalin at the cost of over 5,000 Soviet and Japanese lives.