Original sentence: Friherre Johan Gustaf Nils Samuel Åkerhielm of Margaretelund (July 24, 1833 to April 2, 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
Edited sentence: Friherre Johan Gustaf Nils Samuel Åkerhielm of Margaretelund (July 24, 1833 – April 2, 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