The Dubrovnik nobleman and lord of Trpanj Stefan Gundulić-Gondola, in his will dated 7 October 1645 instructed that a church be built in Trpanj.
He insisted that church be a replica of the Holy Family chapel in Loreta.
Furthermore, he instructed a priest to be hired and housed in Trpanj to serve daily mass for the deliverance of his soul.
Stefan Gundulić-Gondola (the uncle of writer and Duke Ivan Gundulić) died in 1647 and the first mention of the church is found in the bishop's visitation of 29 April 1679.
It is noted that the church suffers from damage from humidity so instructions are given for two windows to be equipped with iron bars to allow free flow of air.
Furthermore, since the painting above the altar was also seriously damaged because it has no frame, the bishop orders a wooden frame be built.
From this it is obvious that there were previous visitations and that the church is not completely new.
The altar is built in the renaissance style, and the House of Gundula crest can be found on the base of the columns.
In time the painting was replaced by a statue and parts of the painting representing souls in purgatory were saved and can be seen under the statue of the Lady of Carmel.
According to professor Grga Gamulin the painting shows signs of 18th-century Venetian painting resembling Piazzetto and Benkovic.
The painting on either side of the statue were made by the amateur painter Frano Kaer from Makarska in 1848.

In 1679 the bishop carries out sacraments in this church which might indicate that it was in better shape than the church of St. Peter.
In 1687 there is a mention of the priest of the church of the Lady of Carmel which would indicate that the priest's house had already been built.
Names of some of the priests are also known.
For instance, father Petar Milošević from Popova died in 1753 and was succeeded by father Luca Giovanelli, who on the 22 February 1758 informed the senate to find a replacement as he will be departing, leaving the keys of the church and house to the chancellor D'Agostino.
Bishop's visitations in 1802 and 1805 make no mention of the church which suggests it was not in use.

After the fall of the Republic of Ragusa, the priest uses it as the primary school as can be found in the city records of 1836.
In 1848 the church was repaired and put back into use.
In the spring of 1850 it was thoroughly renovated and its walls were made higher.
An altar in the renaissance style, although built after that period, was brought from the old church of St. Peter in 1857.
That altar is there today as the altar of St. Anthony.
There is a baroque relief depicting a cross with whips on the outer back wall of the church.
The town council built a dome on the church and installed a public clock and was responsible for its accuracy following a contract signed in 1874.
The Dubrovnik nobleman and lord of Trpanj Stefan Gundulić-Gondola, in his will dated 7 October 1645 instructed that a church be built in Trpanj. He insisted that church be a replica of the Holy Family chapel in Loreta. Furthermore, he instructed a priest to be hired and housed in Trpanj to serve daily mass for the deliverance of his soul. Stefan Gundulić-Gondola (the uncle of writer and Duke Ivan Gundulić) died in 1647 and the first mention of the church is found in the bishop's visitation of 29 April 1679. It is noted that the church suffers from damage from humidity so instructions are given for two windows to be equipped with iron bars to allow free flow of air. Furthermore, since the painting above the altar was also seriously damaged because it has no frame, the bishop orders a wooden frame be built. From this it is obvious that there were previous visitations and that the church is not completely new. The altar is built in the renaissance style, and the House of Gundula crest can be found on the base of the columns. In time the painting was replaced by a statue and parts of the painting representing souls in purgatory were saved and can be seen under the statue of the Lady of Carmel. According to professor Grga Gamulin the painting shows signs of 18th-century Venetian painting resembling Piazzetto and Benkovic. The painting on either side of the statue were made by the amateur painter Frano Kaer from Makarska in 1848.
In 1679 the bishop carries out sacraments in this church which might indicate that it was in better shape than the church of St. Peter. In 1687 there is a mention of the priest of the church of the Lady of Carmel which would indicate that the priest's house had already been built. Names of some of the priests are also known. For instance, father Petar Milošević from Popova died in 1753 and was succeeded by father Luca Giovanelli, who on the 22 February 1758 informed the senate to find a replacement as he will be departing, leaving the keys of the church and house to the chancellor D'Agostino. Bishop's visitations in 1802 and 1805 make no mention of the church which suggests it was not in use.
After the fall of the Republic of Ragusa, the priest uses it as the primary school as can be found in the city records of 1836. In 1848 the church was repaired and put back into use. In the spring of 1850 it was thoroughly renovated and its walls were made higher. An altar in the renaissance style, although built after that period, was brought from the old church of St. Peter in 1857. That altar is there today as the altar of St. Anthony. There is a baroque relief depicting a cross with whips on the outer back wall of the church. The town council built a dome on the church and installed a public clock and was responsible for its accuracy following a contract signed in 1874.
Trpanj