Ernst Mattias Peter von Vegesack was a Swedish volunteer in the Union Army during American Civil War and later on was a member of the parliament of Sweden. After his return to Sweden, he was awarded the brevet grade of Brigadier general of volunteers and in 1893 he received the Medal of Honor for bravery in the Battle of Gaines Mill.
Ernest von Vegesack was born in Hemse on the Baltic island of Gotland as a member of the Swedish nobility. In 1840 he became an army officer of Gotland National Conscription. Two years later he was transferred to Dalarna Regiment. He was educated in surveying and worked until 1850 as a surveyor in Dalarna County. In 1852 he was transferred to Saint Barthlemy, then a Swedish possession in the Caribbean. After his return to Sweden, he received the command over Dalarna Regiment and he was also supervising the GvleDala Railroad, the first long railroad of Sweden.
Source: Wikipedia