The territory was then divided between the Livonian branch of the Teutonic Order, the Bishopric of Dorpat (in Estonian: "Tartu piiskopkond") and the Bishopric of Ösel-Wiek (in Estonian: "Saare-Lääne piiskopkond"). The northern part of Estonia – more exactly Harjumaa and Virumaa districts (in German: Harrien und Wierland) – was a nominal possession of Denmark until 1346. Tallinn (Reval) was given the Lübeck Rights in 1248 and joined the Hanseatic League at the end of the 13th century. In 1343 the people of northern Estonia and Saaremaa (Oesel) Island started a rebellion (St. George's Night Uprising) against the rule of their German-speaking landlords. The uprising was put down, and four elected Estonian "kings" were killed in Paide during peace negotiations in 1343. Vesse, the rebel King of Saaremaa, was hanged in 1344.