Question: What country was the grandma of the wife of Ernest II, Duke of Saxe-Coburg and Gotha from?

Context paragraphs:
Princess Alexandrine of Baden: Princess Alexandrine of Baden (Alexandrine Luise Amalie Friederike Elisabeth Sophie; 6 December 1820 – 20 December 1904) was the Duchess of Saxe-Coburg and Gotha as the wife of Ernest II.  She was born the eldest child of Leopold, Grand Duke of Baden and his wife Princess Sophie of Sweden.

Friedrich Josias, Prince of Saxe-Coburg and Gotha: Friedrich Josias, Prince of Saxe-Coburg and Gotha (Friedrich Josias Carl Eduard Ernst Kyrill Harald; Callenberg Castle, 29 November 1918 – Amstetten, Austria, 23 January 1998) was the head of the Ducal Family of Saxe-Coburg and Gotha and titular Duke of Saxe-Coburg and Gotha from 1954 until his death.

Andreas, Prince of Saxe-Coburg and Gotha: Andreas, Prince of Saxe-Coburg and Gotha, Duke of Saxony (given names: "Andreas Michael Friedrich Hans Armin Siegfried Hubertus"; born 21 March 1943) has been the head of the House of Saxe-Coburg and Gotha since 1998.  He is the grandson of Charles Edward, Duke of Saxe-Coburg and Gotha, the last ruling duke.

Ernest II, Duke of Saxe-Coburg and Gotha: Ernest II (German: "Ernst August Karl Johann Leopold Alexander Eduard"; 21 June 1818 – 22 August 1893) was the sovereign duke of the Duchy of Saxe-Coburg and Gotha, reigning from 1844 to his death.  Ernest was born in Coburg as the eldest child of Ernest I, Duke of Saxe-Coburg-Saalfeld, and his duchess, Princess Louise of Saxe-Gotha-Altenburg.  Fourteen months later, his younger brother Prince Albert was born, who became consort of Queen Victoria of the United Kingdom.  Ernest's father became Duke of Saxe-Coburg and Gotha in 1826 through an exchange of territories.

List of heirs to Saxe-Coburg and Gotha: In the redistribution of land among the Ernestine duchies that followed the death of the last Duke of Saxe-Gotha-Altenburg on 11 February 1825, the late Duke's nephew-in-law, Duke Ernst III of Saxe-Coburg-Saalfeld, received Gotha, while he ceded Saalfeld to the Duke of Saxe-Meiningen.  On 12 November 1826 he thus became Ernst I of Saxe-Coburg and Gotha.  The duchies of Saxe-Coburg and Saxe-Gotha remained in personal union until 1852, when a political union was effected.

Symphony No. 2 (Raff): Symphony No. 2 in C major, Op. 140, was composed by Joachim Raff in Weimar in 1866.  It is one of the three Raff symphonies that does not carry a descriptive title.  It is dedicated to Ernest II, Duke of Saxe-Coburg and Gotha.  It was premiered in Weimar in 1867 and was published two years later in Mainz.  A few years later the symphony received its second performance in the Leipzig Gewandhaus under Raff's baton.  A typical performance lasts for about 37 minutes.

Alfred, Duke of Saxe-Coburg and Gotha: Alfred (Alfred Ernest Albert; 6 August 184430 July 1900) reigned as Duke of Saxe-Coburg and Gotha from 1893 to 1900.  He was the second son and fourth child of Queen Victoria of the United Kingdom and Prince Albert of Saxe-Coburg and Gotha.  He was known as the Duke of Edinburgh from 1866 until he succeeded his paternal uncle Ernest II as the reigning Duke of Saxe-Coburg and Gotha in the German Empire.

Princess Amalie of Saxe-Coburg and Gotha: Princess Marie Luise Franziska "Amalie" of Saxe-Coburg and Gotha, full German name: "Marie Luise Franziska Amalie, Prinzessin von Sachsen-Coburg und Gotha, Herzogin zu Sachsen" (23 October 1848, Coburg, Saxe-Coburg and Gotha – 6 May 1894, Schloss Biederstein, Schwabing, Munich, Kingdom of Bavaria) was a Princess of Saxe-Coburg and Gotha by birth and a Duchess in Bavaria through her marriage to Duke Maximilian Emanuel in Bavaria.  Amalie was the fourth child and second eldest daughter of Prince August of Saxe-Coburg and Gotha and his wife Princess Clémentine of Orléans.  Her youngest brother was Ferdinand I of Bulgaria.

Ernest II, Duke of Saxe-Gotha-Altenburg: Ernest II, Duke of Saxe-Gotha-Altenburg (Gotha, 30 January 1745 – Gotha, 20 April 1804) was the reigning Duke of Saxe-Gotha-Altenburg from 1772 to 1804.  He was the third but second surviving son of Frederick III, Duke of Saxe-Gotha-Altenburg and Luise Dorothea of Saxe-Meiningen.  The death of his older brother Frederick in 1756 made him the heir to the duchy of Saxe-Gotha-Altenburg.

Princess Dorothea of Saxe-Coburg and Gotha: Princess Dorothea Maria Henriette Auguste Louise of Saxe-Coburg and Gotha (30 April 1881 – 21 January 1967) was a princess of Saxe-Coburg and Gotha (German: "Prinzessin von Sachsen-Coburg und Gotha" ) by birth and the duchess of Schleswig-Holstein (German: "Herzogin zu Sachsen" ) through her marriage to Ernst Gunther, duke of Schleswig-Holstein.  Dorothea was born in Vienna, Austria, the second child and only daughter of Prince Philipp of Saxe-Coburg and Gotha and Princess Louise of Belgium.

Supporting paragraphs: Princess Alexandrine of Baden Ernest II, Duke of Saxe-Coburg and Gotha
Answer: Sweden