 He was invited to Munich by Henriette Adelaide of Savoy to construct the Theatinerkirche in 1664.The work was marked by conflicts with the construction supervisor Spinelli.Barelli created also the draft for Nymphenburg Palace in 1664.