Following France and Britain's declarations of war on Austria-Hungary on 11 and 12 August respectively, the French Admiral Augustin Boué de Lapeyrère was issued orders to close off Austro-Hungarian shipping at the entrance to the Adriatic Sea and to engage any Austro-Hungarian ships his Anglo-French fleet came across. Lapeyrère chose to attack the Austro-Hungarian ships blockading Montenegro. The ensuing Battle of Antivari ended Austria-Hungary's blockade, and effectively placed the entrance of the Adriatic Sea firmly in the hands of Britain and France.