Montenegro was the first that declared war on 8 October (25 September O.S.). Its main thrust was towards Shkodra, with secondary operations in the Novi Pazar area. The rest of the Allies, after giving a common ultimatum, declared war a week later. Bulgaria attacked towards Eastern Thrace, being stopped only at the outskirts of Constantinople at the Çatalca line and the isthmus of the Gallipoli peninsula, while secondary forces captured Western Thrace and Eastern Macedonia. Serbia attacked south towards Skopje and Monastir and then turned west to present-day Albania, reaching the Adriatic, while a second Army captured Kosovo and linked with the Montenegrin forces. Greece's main forces attacked from Thessaly into Macedonia through the Sarantaporo strait. On 7 November, in response to an Ottoman initiative, they entered into negotiations for the surrender of Thessaloniki. With the Greeks already there, and the Bulgarian 7th Rila Division moving swiftly from the north towards Thessaloniki, Hassan Tahsin Pasha considered his position to be hopeless. . The Greeks offered more attractive terms than the Bulgarians did. On 8 November, Tahsin Pasha agreed to terms and 26,000 Ottoman troops passed over into Greek captivity. Before the Greeks entered the city, a German warship whisked the former sultan Abdul Hamid II out of Thessaloniki to continue his exile, across the Bosporus from Constantinople. With their army in Thessaloniki, the Greeks took new positions to the east and northeast, including Nigrita. On 12 November (on 26 October 1912, O.S.) Greece expanded its occupied area and teamed up with the Serbian army to the northwest, while its main forces turned east towards Kavala, reaching the Bulgarians. Another Greek army attacked into Epirus towards Ioannina.