Lloyd George was Liberal Member of Parliament (MP) for Pembrokeshire from 1922 to 1924 and again from 1929 to 1950. He was initially elected as a National Liberal but then joined the re-united Liberal Party in 1923. In 1931 Lloyd George initially took ministerial office as Parliamentary Secretary to the Board of Trade in the National Government of Ramsay Macdonald but resigned when his father David Lloyd George withdrew his support from the government. Gwilym Lloyd George was subsequently a member of the Independent Liberal group from 1931–1935 who were opposed to the continuation of the National Government. This group then subsequently returned to the main Liberal Party following the 1935 general election.