The fortifications of Mdina are a series of defensive walls which surround the former capital city of Mdina, Malta. The city was founded as Maleth by the Phoenicians in around the 8th century BC, and it later became part of the Roman Empire under the name Melite. The ancient city was surrounded by walls, but very few remains of these have survived. The city walls were rebuilt a number of times, including by the Byzantine Empire in around the 8th century AD, the Arabs in around the 11th century, and the Kingdom of Sicily in the medieval period until the 15th century. Most of the extant fortifications were built by the Order of Saint John between the 16th and 18th centuries. The city has withstood a number of sieges, and it was defeated twice - first by the Aghlabids in 870 and then by Maltese rebels in 1798. Today, the city walls are still intact except for some outworks, and they are among the best preserved fortifications in Malta. Mdina has been on Malta's tentative list of UNESCO World Heritage Sites since 1998.

How many times was the city defeated?
A: 2

Uros III's decision not to attack the Byzantines after the victory at the Battle of Velbazhd against Bulgaria resulted in the alienation of many nobles, who sought to expand to the south. By January or February 1331, Dusan was quarreling with his father, perhaps pressured by the nobility. According to contemporary pro-Dusan sources, evil advisors turned Uros III against his son; he decided to seize and exclude Dusan of his inheritance. Uros III sent an army into Zeta against his son, the army ravaged Skadar, but Dusan had crossed the Bojana. A brief period of anarchy in parts of Serbia took place before the father and son concluded peace in April 1331. Three months later, Uros III ordered Dusan to meet him. Dusan feared for his life and his advisors persuaded him to resist, so Dusan marched from Skadar to Nerodimlje, where he besieged his father. Uros III fled, and Dusan captured the treasury and family. He then pursued his father, catching up with him at Petric. On 21 August 1331, Uros III surrendered, and on the advice or insistence of Dusan's advisors, he was imprisoned. Dusan was crowned King of All Serbian and Maritime lands in the first week of September. The civil war had prevented Serbia from aiding Ivan Stephen and Anna Neda in Bulgaria, who were deposed in March 1331, taking refuge in the mountains. Ivan Alexander of Bulgaria feared for the danger of Serbia as the situation there had settled, and immediately sought peace with Dusan. As Dusan wanted to move against richer Byzantium, the two made peace and an alliance in December 1331, accepting Ivan Alexander as ruler. It was sealed with the marriage of Dusan and Helena, the sister of Ivan Alexander.

What happened first, the civil war, or Dusan becoming king?
A: The civil war

In the Morean War, the Republic of Venice besieged Sinj in October 1684 and then again March and April 1685, but both times without success. In the 1685 attempt, the Venetian armies were aided by the local militia of the Republic of Poljica, who thereby rebelled against their nominal Ottoman suzerainty that had existed since 1513. In an effort to retaliate to Poljica, in June 1685, the Ottomans attacked Zadvarje, and in July 1686 Dolac and Srijane, but were pushed back, and suffered major casualties. With the help of the local population of Poljica as well as the Morlachs, the fortress of Sinj finally fell to the Venetian army on 30 September 1686. On 1 September 1687 the siege of Herceg Novi started, and ended with a Venetian victory on 30 September. Knin was taken after a twelve-day siege on 11 September 1688. The capture of the Knin Fortress marked the end of the successful Venetian campaign to expand their territory in inland Dalmatia, and it also determined much of the final border between Dalmatia and Bosnia and Herzegovina that stands today. The Ottomans would besiege Sinj again in the Second Morean War, but would be repelled. On 26 November 1690, Venice took Vrgorac, which opened the route towards Imotski and Mostar. In 1694 they managed to take areas north of the Republic of Ragusa, namely Citluk, Gabela, Zazablje, Trebinje, Popovo, Klobuk and Metkovic. In the final peace treaty, Venice did relinquish the areas of Popovo polje as well as Klek and Sutorina, to maintain the pre-existing demarcation near Ragusa.

How many months after the Republic of Venice besieged Sinj did they do it again?
A:
5