When, in late June of 1571, the town of Ulcinj fell, because of the Venetian authorities' treachery, the Ottomans arrived by land, under the supreme control of General Ahmet-Pasha and by sea - Admiral Petatt-Pasha arrived to the Bay of Bar with a dozen ships. Several months before the Battle of Lepanto, the prince of Bar, Aleksandar Donato, summoned the council because he wanted to interrogate the commander of the Venetian fleet in Bar, Ivan Vidaconi, who stated that the town was too weak to fight back against the powerful Ottoman army, but that was ready to die fighting in the defence of the town.
In 1571, on October 7th, the powerful Venetian fleet defeated the Ottoman fleet led by Admiral Kapudan-pasha in the Battleof Lepanto at Corfu. The Ottoman ruler at the time was the great Sultan Selim II. Even though the collapse of the Ottoman Armada in the Mediterranean was inevitable, thy managed to conquer Bar and Ulcinj during the same year, without fighting, and the two towns fell under the rule of the Shkoder Sanjak, which was part of the Ottoman Empire.
The Ottoman Empire existed from 1299 to 1923 (624 years), but they ruled over Bar from 1571 till January 1878, leaving their trace on its medieval foundations. The empire was established by the Okhuz tribe (Turkd from wetern Anatolia), and the rulers came frome the Ottoman dynasty. The empire was founded by Osman I (In Arabic: Uthman; he gave the name to the Ottoman empire). In diplomatic circles, the empire was often called the High Porta, or just Porta, which came from the French translation of the word Bab'i'ali (Bab-i-ali), which means "high gate", according to the welcoming ceremony which the sultan organized for foreign ambassadors at the entrance to the palace.
A captain commandedthe fort in the 18th century, Osman-aga lived in the town, who was well respected as a writer, and the town was highly appreciated as a religious and cultural centre in the Muslim world. This shows that Bar was not only a strategic and commercial settlement between the Adriatic coast and its hinterland, but that ist also developed its spiritual activities, which is best seen in some stone engravings.
Immediately after the first day of the conquest, the great Cathedral of St. George was turned into a mosque. Several noble families immediately converted to Islam, and around 300 janissaries settled in the town and as many landowners.
There was an unsuccessful attempt by Venice to regain the town in the same year. They tried the same thing during the Canadian War of 1645 - 1669, when the attack was planned with the aid of 1,000 Montenegrins. This time, the Ottomans managed to defend themselves, with the aid of the Mrkovic tribe.
The Venetians did not change their ambitions towards the town even during the Morean War (1684 - 1699). In 1689 they tried to surround Bar with 1000 people, from the tribes of Piper and Bratonozic. The attack failed.
In 1717, during the new war between Venice and the Ottomans (1714 - 1718), a plan to attack Bat was being formulated. The plan consisted of a land attack from the direction of Ulcinj and a blockade of the Bar coastline by the Venetian ships. In mid-October of the same year, 1,200 Montenegrins took part in the attack, under Vladika Danilo.
At the beginning of the Ottoman rule, the fort commander was the castellan, and had a crew consisting of Albanians who accepted Islam and werre pirates, but also persecuted Montenegrin and Clementine (a Christian Albanian tribe) outlaws (hajduks), while, at the head of the civil administration and law system, there was also the captain. The economic positions were dealt with by the emin - emissary. In the Muslim world, Bar was considered to be a large town, a seher, and not a small town - kasaba.
The famous Turkish travel writer Evliya Celebi says: "...there is the mosque of Sultan Ahmet, a mekteb (secondary school), mesdzid (mosque without a minaret), a grain barn, gunpowder magazine, a water tank, great canons, a gate, music and ditch.
Neighbourhoods of craftsmen, merchants and landowners werer formed. The principal neighbourhoods were Londza (Turkish for meeting place), Orta (the lower quarter) and Kuscet (the Lower town).
In the 18th century, Bar made up a qadi, alone, or together with Ulcinj. Several agas were living in the citadel, and the administrative superios was the muselim. Otherwise, a relative of the Shkoder pasha Busatilj was appointed the Shkoder muselim.