The exquisite Palacio da Pena is regarded as one of the finest tourist attractions of Portugal and will be a highlight of any visit to Sintra. The vividly painted palace was commissioned in 1842, by King Ferdinand II who championed the arts, literature and music. The king wished the palace to reflect that of a scene from an opera and the extravagant Pena Palace was constructed.
http://www.sintra-portugal.com/guides/sintra-things-to-see.html