An Austrian counter-advance into Bohemia engaged Frederick's Prussians on 17 May and was narrowly defeated at the resulting Battle of Chotusitz. This defeat left Austria with no immediate means of driving its enemies out of Bohemia, and renewed peace talks with Prussia began in Breslau. Under British pressure, Austria agreed to cede to Prussia the large majority of Silesia, along with the County of Glatz in Bohemia, while Austria would retain two small portions of the extreme southern end of Silesia, including the Duchy of Teschen and parts of the Duchies of Jägerndorf, Troppau and Neisse. Prussia also agreed to take on some of Austria's debts and to remain neutral for the remainder of the ongoing war. This peace agreement was adopted with the Treaty of Breslau, which ended the First Silesian War on 11 June 1742, and was later formalised in the Treaty of Berlin.