A museum in the Swiss capital has agreed to accept an art trove bequeathed to it this year by German collector Cornelius Gurlitt, and vowed to return any works in the horde seized by the Nazis.

Kunstmuseum Bern said Monday it will take the modernist art left to it by Gurlitt that was acquired legally, and work with the German government to return works that belonged to Jews before World War II and were confiscated by the regime.

"The decision was anything but easy and involved in no way a sense of triumphalism," Christoph Schaeublin, president of the Bern museum's foundation, told reporters in Berlin. "I'm convinced that we achieved the best solution possible," while confronting a "multifaceted and complex responsibility" with respect to victims of the Nazis.