paragraph_text: The Khanqah of Baybars II is a medieval building located on historic Sharia Gamaliya in Cairo, Egypt. It was built in 1309, in the medieval Islamic Cairo era, to accommodate four hundred Sufis and children of the Mamluks. This is the oldest "khanqah", or hostel, that has survived in modern Cairo.

paragraph_text: Blarney Castle (Irish: Caisleán na Blarnan) is a medieval stronghold in Blarney, near Cork, Ireland, and the River Martin. Though earlier fortifications were built on the same spot, the current keep was built by the MacCarthy of Muskerry dynasty, a cadet branch of the Kings of Desmond, and dates from 1446. The Blarney Stone is among the machicolations of the castle.

paragraph_text: Many historical structures stand in Maribor. Of the remains of city walls surrounding the old downtown, the most prominent are the Judgement Tower, the Water Tower, and the Jewish Tower. Maribor Cathedral was built in the Gothic style in the 13th century. Maribor Synagogue was built in the 14th century, and is the second oldest synagogue of Europe. Today it serves as a centre for cultural activities. Other prominent Medieval buildings are Maribor Castle, Betnava Castle, and the ruins of Upper Maribor Castle on Pyramid Hill. Town Hall was constructed in the Renaissance style, and the Plague Column in the Baroque style.

paragraph_text: In European history, the Middle Ages or medieval period lasted from the 5th to the 15th century. It began with the collapse of the Western Roman Empire and merged into the Renaissance and the Age of Discovery. The Middle Ages is the middle period of the three traditional divisions of Western history: Antiquity, Medieval period, and Modern period. The Medieval period is itself subdivided into the Early, the High, and the Late Middle Ages.

paragraph_text: Craigmillar Castle is a ruined medieval castle in Edinburgh, Scotland. It is south-east of the city centre, on a low hill to the south of the modern suburb of Craigmillar. The Preston family of Craigmillar, the local feudal barons, began building the castle in the late 14th century and building works continued through the 15th and 16th centuries. In 1660 the castle was sold to Sir John Gilmour, Lord President of the Court of Session, who made further alterations. The Gilmours left Craigmillar in the 18th century, and the castle fell into ruin. It is now in the care of Historic Environment Scotland as a scheduled monument.

paragraph_text: The peaceful introduction of Islam in the early medieval era of Somalia's history brought Islamic architectural influences from Arabia and Persia. This had the effect of stimulating a shift in construction from drystone and other related materials to coral stone, sundried bricks, and the widespread use of limestone in Somali architecture. Many of the new architectural designs, such as mosques, were built on the ruins of older structures. This practice would continue over and over again throughout the following centuries.

paragraph_text: The Pindus range continues through the central Peloponnese, crosses the islands of Kythera and Antikythera and finds its way into southwestern Aegean, in the island of Crete where it eventually ends. The islands of the Aegean are peaks of underwater mountains that once constituted an extension of the mainland. Pindus is characterized by its high, steep peaks, often dissected by numerous canyons and a variety of other karstic landscapes. The spectacular Vikos Gorge, part of the Vikos-Aoos National Park in the Pindus range, is listed by the Guinness book of World Records as the deepest gorge in the world. Another notable formation are the Meteora rock pillars, atop which have been built medieval Greek Orthodox monasteries.

paragraph_text: Until the Church Building Act of 1818, the period saw relatively few churches built in Britain, which was already well-supplied, although in the later years of the period the demand for Non-conformist and Roman Catholic places of worship greatly increased. Anglican churches that were built were designed internally to allow maximum audibility, and visibility, for preaching, so the main nave was generally wider and shorter than in medieval plans, and often there were no side-aisles. Galleries were common in new churches. Especially in country parishes, the external appearance generally retained the familiar signifiers of a Gothic church, with a tower or spire, a large west front with one or more doors, and very large windows along the nave, but all with any ornament drawn from the classical vocabulary. Where funds permitted, a classical temple portico with columns and a pediment might be used at the west front. Decoration inside was very limited, but churches filled up with monuments to the prosperous.

paragraph_text: By the 12th century, Romanesque architecture (termed Norman architecture in England because of its association with the Norman invasion), was established throughout Europe and provided the basic architectural forms and units that were to remain in evolution throughout the Medieval period. The important categories of building: the cathedral church, the parish church, the monastery, the castle, the palace, the great hall, the gatehouse, the civic building, had been established in the Romanesque period.

paragraph_text: The list of medieval bridges in France comprises all bridges built between 500 and 1500 AD in what is today France, that is including regions which were not part of the country in the Middle Ages, such as Burgundy, Alsace, Lorraine and Savoie. Along with those Roman bridges which remained in service throughout the period, there are in total over 700 structures known.

paragraph_text: In the history of Europe, the Middle Ages or Medieval Period lasted from the 5th to the 15th century. It began with the fall of the Western Roman Empire and merged into the Renaissance and the Age of Discovery. The Middle Ages is the middle period of the three traditional divisions of Western history: classical antiquity, the medieval period, and the modern period. The medieval period is itself subdivided into the Early, High, and Late Middle Ages.

paragraph_text: In the history of Europe, the Middle Ages (or Medieval Period) lasted from the 5th to the 15th century. It began with the fall of the Western Roman Empire and merged into the Renaissance and the Age of Discovery. The Middle Ages is the middle period of the three traditional divisions of Western history: classical antiquity, the medieval period, and the modern period. The medieval period is itself subdivided into the Early, High, and Late Middle Ages.

paragraph_text: Userkaf's pyramid is located on the northeast corner of Djoser's step pyramid complex. The pyramid was originally around 49 metres (161 ft) high and 73 metres (240 ft) large with an inclination of 53° identical to that of Khufu's great pyramid for a total volume of 87,906 m3 (114,977 cu yd). The core of the pyramid is built of small, roughly-hewn blocks of local limestone disposed in horizontal layers. This meant a considerable saving of labor as compared to the large and more accurately-hewn stone cores of 4th Dynasty pyramids. However, as the outer casing of Userkaf's pyramid fell victim to stone robbers throughout the millennia, the loosely assembled core material was progressively exposed and fared much worse over time than that of the older pyramids. This explains the current ruined state of the pyramid.The pyramid core was constructed in a step-like structure, a construction technique similar to that of the 4th dynasty although the building material was of a significantly lower quality. The outer casing of the pyramid was made of fine Tura limestone which certainly ensured Userkaf's construction an appearance similar to that of the glorious 4th Dynasty pyramids. There was however no red granite paneling over the lower part of the pyramid as in the case of the Pyramid of Menkaure.

paragraph_text: On the other hand, many of the medieval buildings once situated within the town walls are now in ruins or have disappeared altogether. From successive incarnations of the motte and bailey castle, only a section of the bailey wall remains today, lying just off Castle Way. The last remains of the Franciscan friary in Southampton, founded circa 1233 and dissolved in 1538, were swept away in the 1940s. The site is now occupied by Friary House.

paragraph_text: Greek culture has evolved over thousands of years, with its beginning in the Mycenaean civilization, continuing through the Classical period, the Roman and Eastern Roman periods and was profoundly affected by Christianity, which it in turn influenced and shaped. Ottoman Greeks had to endure through several centuries of adversity that culminated in genocide in the 20th century but nevertheless included cultural exchanges and enriched both cultures. The Diafotismos is credited with revitalizing Greek culture and giving birth to the synthesis of ancient and medieval elements that characterize it today.

paragraph_text: The Ertuğrul Tekke Mosque, (), is an Ottoman imperial mosque located in Yıldız neighbourhood, Serencebey rise of Beşiktaş district in Istanbul, Turkey. A late Ottoman period mosque, it is constructed as a külliye consisting of a tekke, guest house, türbe, fountain, and library in addition to the mosque.

paragraph_text: Fort Widley is one of the forts built on top of Portsdown Hill between 1860 and 1868 on the recommendation of the Royal Commission on the Defence of the United Kingdom. It was designed, along with the other Palmerston Forts atop Portsdown, to protect Portsmouth from attack from the rear.

paragraph_text: Examples of Ottoman architecture of the classical period, besides Istanbul and Edirne, can also be seen in Egypt, Eritrea, Tunisia, Algiers, the Balkans and Romania, where mosques, bridges, fountains and schools were built. The art of Ottoman decoration developed with a multitude of influences due to the wide ethnic range of the Ottoman Empire. The greatest of the court artists enriched the Ottoman Empire with many pluralistic artistic influences: such as mixing traditional Byzantine art with elements of Chinese art.

paragraph_text: Anthony Salvin (17 October 1799 – 17 December 1881) was an English architect. He gained a reputation as an expert on medieval buildings and applied this expertise to his new buildings and his restorations. He restored castles and country houses, and built a number of new houses and churches.

paragraph_text: The Château de Lutzelbourg is a medieval castle ruin, above the town of Ottrott, in the Bas-Rhin department of eastern France (Alsace).

Question: For what country did the Ottoman dynasty commission several of the type of buildings that, in the medieval period, were notably built atop older ruins?
Answer: Turkey