The present church was rebuilt after pirates destroyed the original in 1667 , though part of it , the Morgada chapel , did survive .
The present church was rebuilt after pirates destroyed the original in 1667 because they hated the priest .