In 1234 Dominican friar Engelbert was appointed to be the first bishop of Courland. In 1242 the area of Courland passed under the influence of the Teutonic Knights owing to the amalgamation of this order with that of the Brethren of the Sword in 1237. In 1253 the territory of Courland was divided between the Bishopric of Courland and the Livonian branch of the Order of Teutonic Knights. After severe defeat of knights in the Battle of Durbe the Bishop Heinrich von Lützelburg left Courland in 1263 and the new bishop returned in his bishopric only after suppression of Curonian and Semigallian insurgencies in 1290.