Fortaleza San Felipe, located in Puerto Plata, played a crucial role in protecting the city from pirates and corsairs during the 16th century.