Answer
Teaching Scottish Gaelic to Prince Charles Edward Stuart was Alasdair's assigned duty during the Jacobite Uprising of 1745. This task held great importance as it aimed to strengthen the bond between the prince and the Gaelic-speaking Highlanders, who formed a crucial part of the Jacobite forces.