In the early 12th century the island, as part of the Pomeranian duchy, was captured by the Polish monarch Boleslaw III Wrymouth. Shortly after, the inhabitants of Wolin accepted Christianity, and in 1140 pope Innocent II created a diocese there, with its capital in the town of Wolin. In 1185 the dukes of Pomerania became vassals of Denmark, and in 1227 they fell under the suzerainty of the Holy Roman Empire to stay with various German states until the middle of the 20th century.