A new constitution in 1937 removed many of the links with Britain established under the Treaty and Ireland's neutrality in the Second World War demonstrated its independence in foreign policy matters from Britain.