The statue of the Christ Crucified was probably created around the mid-17th century, thus for a new brick church (before 1662). The crucifix was probably located first on the chancel arch of the church, then transferred to the side altar in the fourth quarter of the 18th century, in connection with the favours for which it was famous for. At the end of the 17th and 18th centuries, due to the modernisation of temples, it was common to transfer crucifixes from the original place (i.e. from the chancel arch) and place them in other locations: in altars, on walls, in outdoor gardens, etc.
Paulina Kluz, "Crucifix", [in:] "The Sacred Lesser Poland Heritage", 2022, source: https://sdm.upjp2.edu.pl/en/works/crucifix-71