Background
Zmajević was born in Perast, in the Bay of Kotor, at the time part of the Republic of Venice (now Montenegro) on the 3rd of May 1640.
Zmajević was born in Perast, in the Bay of Kotor, at the time part of the Republic of Venice (now Montenegro) on the 3rd of May 1640.
He was the brother of Andrija Zmajević. Andrija"s father was Nikola Milutin Zmajević. After Andrija"s birth in 1628, soon came Andrija"s brothers, Ivan and Krsto.
Krsto Zmajević would become a very famous person, on more than one occasion as the Captain of Perast.
Andrija remained very akin towards his family origin throughout his life. In 1671 he was elected the town captain of Perast, entrusted with military and administrative authority of the town.
In 1675, he was sent to expel the pirates in Ulcinj who had sacked throughout the Adriatic Sea, for which he was awarded a golden necklace by the Senate. He became the caretaker of an Ottoman general"s daughter, which later became the cause of the Zmajević-Bujović family feud.
In 1679 he was elected town captain for the second time, in a period when Perast saw an expansion in defence against the Ottomans and pirates. and the other son Matija became the admiral of the Russian Navy.