From 1879 to 1885, he studied at the Kraków Academy of Fine Arts with Jan Matejko, who had a decisive influence on his style.
When he returned to Kraków, he received a small workshop at the Academy, where he assisted Matejko with his classes in composition and was awarded a degree in 1888.
Three years later, he went back to Krosno, where he was married and began to turn away from historical themes.
When they once again returned to Krosno, they moved into a house designed for them by Jan Sas Zubrzycki, which still retains some of Bergman's decorative touches.
A major retrospective was held at the "Muzeum Podkarpackie" (Sub-Carpathian Museum) in Krosno from 2010 to 2011.