The painting "Agony in the Garden of Gethsemane" was most probably created in the second half of the 19th century. It was re-installed in the finial of the side altar. Agony in the Garden of Gethsemane is one of Passion's themes. It is described in the Gospels of: Matthew, Mark and Luke (Mt 26:36-46; Mk 14:32-42; Lk 22:39-46).
Paulina Kluz, "Agony in the Garden of Gethsemane", [in:] "The Sacred Lesser Poland Heritage", 2022, source: https://sdm.upjp2.edu.pl/en/works/agony-in-the-garden-of-gethsemane-1