What year did wales become part of the united kingdom?