 After the Ming–Qing Transition in 1644, Shandong acquired (more or less) its current borders.During the nineteenth century, China became increasingly exposed to Western influence, and Shandong, a coastal province, was especially affected.Qingdao was leased to Germany in 1897 and Weihai to Britain in 1898.