The hermitage of the Virgin of Virgen del Puerto in Madrid is the work of Pedro de Ribera. It was built in 1716-1718 and is one of the first examples of baroque architecture in Spain. There is a copy of the image of Our Lady of Virgen del Puerto, patron of the city of Palencia. Inside, you can also see the tomb of Marquis Vadillo, by Pedro de Ribera.
In 1936, during the Spanish Civil War, this place was attacked. At the end of the war, the building was so damaged by missiles that all that was left of it was the walls and the octagonal dome. The image of the Mother of God was also destroyed. The new sculptor Víctor González Gilo.
Finally, in 1945, the hermitage was proclaimed a National Monument. Her complete reconstruction began then under the direction of Carlos Mendoza. The hermitage of the Virgin of Virgen del Puerto was reopened in 1951.