The ancient name of Pietra Ligure was La Pietra , and referred to the imposing calcareous rock that is found to the east of the historical center, above which the Roman castrum was built. The castle, enlarged in the period of the barbarian and Saracen invasions (6th-9th century), was a bishop ‘s property and reached its present size in the 16th century. It is believed that this natural barrier, easily defensible, constituted a border point between the Byzantines and the Lombards .
The Byzantine castrum was probably destroyed by King Rotari, but in the same site the medieval castle, stronghold of the bishops of Albenga, was built in the 12th century , subject then to frequent attacks by the Del Carrettos of Finale . To the west of the castle a hamlet developed, surrounded by turreted walls and endowed with five gates: the port of the marina protected by a bastion to the south, the gate of Santa Caterina near the homonymous rural oratory to the north, the door of the porch protected by the tower of via Rocca Crovara and the royal gate to the west, the door to the slaughterhouse to the east. After various vicissitudes, the village was definitively ceded by Pope Urban VI to Genoa , in 1385 , and acquired considerable importance as an advanced point of the Republic between the Finale and Loano , fiefdom of the Doria .
The castle remained the property of the bishops of Albenga, who sold it to the Arnaldo at the end of the fourteenth century . It then passed into the possession of other patrician families and was enlarged in 1550 with the addition of a wing facing south-west, an arch in the eastern part in addition to the two sentry boxes. Due to the Saracen raids the upper square was armed with two large cannons, which were sent back to Genoa at the end of the 18th century in view of the French invasion. The medieval part, at the end of the fifties of the twentieth century , has been restored and transformed into a meeting place. The solid masonry resting directly on the rock, the impervious position, the vaulted passages and the low rooms of the dungeons known as “Grimaldina”, due to the fact that two Grimaldi brothers from Monaco were imprisoned there at the end of the fourteenth century, justify the importance of the castle exercised in the local defense system.
References:Linderhof is the smallest of the three palaces built by King Ludwig II of Bavaria and the only one which he lived to see completed.
Ludwig II, who was crowned king in 1864, began his building activities in 1867-1868 by redesigning his rooms in the Munich Residenz and laying the foundation stone of Neuschwanstein Castle. In 1868 he was already making his first plans for Linderhof. However, neither the palace modelled on Versailles that was to be sited on the floor of the valley nor the large Byzantine palace envisaged by Ludwig II were ever built.
Instead, the new building developed around the forester's house belonging to his father Maximilian II, which was located in the open space in front of the present palace and was used by the king when crown prince on hunting expeditions with his father.