Carl Swartz was also an eminent municipal figure and a generous philanthropist. In 1912, he donated Villa Swartz to the town of Norrköping, as accommodation for a library and museum. He died in Stockholm on 6 November 1926.
