Baron Johan Gustaf Nils Samuel Åkerhielm af Margaretelund (24 June 1833 – 2 April 1900) was a politician, a baron, a landowner, member of the Riksdag from 1859 to 1866 and from 1870 to 1900, a Minister of Finance from 1874 to 1875, a Minister for Foreign Affairs in 1889, and a Prime Minister from 1889 to 1891.He was married to Ulrika Gyldenstolpe in 1860, with whom he had three children.