The earliest records of Kellie go back to 1150 where it is mentioned in a charter issued by King David I. The first known owner was Robert of London, the illegitimate son of King William the Lion. None of the early buildings to have survived.
The estate was signed over to a Siward relative, Walter Oliphant, in 1360 and the castle remained in the ownership of the Oliphant family until 1613. It was purchased by Sir Thomas Erskine, who had saved the life of King James VI during the Gowrie Conspiracy. The King stayed at Kellie in 1617 during his only visit to Scotland after the Union of the Crowns, and he appointed Erskine as Earl of Kellie in 1619.
Originally a simple tower house, the lower section of what now constitutes the northwest tower is the oldest part of the castle, dating from around 1360, and is said to be haunted. In 1573 a new tower was built by the 4th Lord Oliphant to the east of the original tower. It is believed that the 4th Lord built the east tower as a jointure-house (a property set aside for the wife after the husband's death) for his wife Margaret. Between 1573 and 1606 the two towers were linked by a new range, terminated by another tower in the south-west, creating the T-plan layout that remains today. The castle is a fine example of Scots Baronial domestic architecture, with an imposing mix of gables, corbelled towers, and chimneys.
The walled garden is 17th century, with late Victorian additions, contains a fine collection of old-fashioned roses, fruit trees and herbaceous plants.
References:Rosenborg Palace was built in the period 1606-34 as Christian IV’s summerhouse just outside the ramparts of Copenhagen. Christian IV was very fond of the palace and often stayed at the castle when he resided in Copenhagen, and it was here that he died in 1648. After his death, the palace passed to his son King Frederik III, who together with his queen, Sophie Amalie, carried out several types of modernisation.
The last king who used the place as a residence was Frederik IV, and around 1720, Rosenborg was abandoned in favor of Frederiksborg Palace.Through the 1700s, considerable art treasures were collected at Rosenborg Castle, among other things items from the estates of deceased royalty and from Christiansborg after the fire there in 1794.
Soon the idea of a museum arose, and that was realised in 1833, which is The Royal Danish Collection’s official year of establishment.