Castillo de San Felipe was built in 1771 during the reign of Carlos III of Spain for the defense of the littoral. It was disarmed by the French army during the Spanish Independence War. Halfway into the 19th century it was occupied by the special forces in charge of the surveillance of the littoral. During the 20th century was abandoned and repaired between 1990-1991.
References:The stone church of Gamla Uppsala, built over the pagan temple, dates from the early 12th century. Due to fire and renovations, the present church is only a remnant of the original cathedral.
Before the arrival of Christianity in Sweden, Gamla Uppsala was the seat of Swedish kings and a ceremonial site known all over northern Europe. The settlement was home to royal palaces, a royal burial ground, and a great pagan temple. The Uppsala temple, which was described in detail by Adam of Bremen in the 1070s, housed wooden statues of the Norse gods Odin, Thor and Freyr. A golden chain hung across its gables and the inside was richly decorated with gold. The temple had priests, who sacrificed to the gods according to the needs of the people.
The first Christian cathedral was probably built in the 11th century, but finished in the 12th century. The stone building may have been preceded by a wooden church and probably by the large pagan temple.