qnli question: Which two areas were slowly Germanized during the 13th century? sentence: Its defeat was formalised in the Second Treaty of Thorn in 1466 ending the Thirteen Years' War, and leaving the former Polish region Pomerania/Pomerelia under Polish control.