He led the Việt Minh independence movement from 1941 onward, establishing the communist -ruled Democratic Republic of Vietnam in 1945 and defeating the French Union in 1954 at the battle of Điện Biên Phủ .