<P> Swimming is one of the sports at the quadrennial Commonwealth Games competition . It has been a Commonwealth Games sport since the inaugural edition of the event's precursor, the 1930 British Empire Games . It is a core sport and must be included in the sporting programme of each edition of the Games . Synchronised swimming and Diving events are optional . Water polo is a recognised (i.e. not yet optional) sport . </P> <Table> <Tr> <Th> Games </Th> <Th> Year </Th> <Th> Host city </Th> <Th> Host country </Th> <Th> Best nation </Th> </Tr> <Tr> <Td> </Td> <Td> 1930 </Td> <Td> Hamilton, Ontario </Td> <Td> Canada </Td> <Td> England </Td> </Tr> <Tr> <Td> II </Td> <Td> 1934 </Td> <Td> London </Td> <Td> England </Td> <Td> Canada </Td> </Tr> <Tr> <Td> III </Td> <Td> 1938 </Td> <Td> Sydney, New South Wales </Td> <Td> Australia </Td> <Td> England </Td> </Tr> <Tr> <Td> IV </Td> <Td> 1950 </Td> <Td> Auckland </Td> <Td> New Zealand </Td> <Td> Australia </Td> </Tr> <Tr> <Td> V </Td> <Td> 1954 </Td> <Td> Vancouver, British Columbia </Td> <Td> Canada </Td> <Td> Australia </Td> </Tr> <Tr> <Td> VI </Td> <Td> 1958 </Td> <Td> Cardiff </Td> <Td> Wales </Td> <Td> Australia </Td> </Tr> <Tr> <Td> VII </Td> <Td> 1962 </Td> <Td> Perth, Western Australia </Td> <Td> Australia </Td> <Td> Australia </Td> </Tr> <Tr> <Td> VIII </Td> <Td> 1966 </Td> <Td> Kingston </Td> <Td> Jamaica </Td> <Td> Australia </Td> </Tr> <Tr> <Td> IX </Td> <Td> 1970 </Td> <Td> Edinburgh </Td> <Td> Scotland </Td> <Td> Australia </Td> </Tr> <Tr> <Td> X </Td> <Td> </Td> <Td> Christchurch </Td> <Td> New Zealand </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XI </Td> <Td> 1978 </Td> <Td> Edmonton, Alberta </Td> <Td> Canada </Td> <Td> Canada </Td> </Tr> <Tr> <Td> XII </Td> <Td> 1982 </Td> <Td> Brisbane, Queensland </Td> <Td> Australia </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XIII </Td> <Td> 1986 </Td> <Td> Edinburgh </Td> <Td> Scotland </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XIV </Td> <Td> 1990 </Td> <Td> Auckland </Td> <Td> New Zealand </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XV </Td> <Td> 1994 </Td> <Td> Victoria, British Columbia </Td> <Td> Canada </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XVI </Td> <Td> 1998 </Td> <Td> Kuala Lumpur </Td> <Td> Malaysia </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XVII </Td> <Td> 2002 </Td> <Td> Manchester </Td> <Td> England </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XVIII </Td> <Td> 2006 </Td> <Td> Melbourne, Victoria </Td> <Td> Australia </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XIX </Td> <Td> </Td> <Td> Delhi </Td> <Td> India </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XX </Td> <Td> 2014 </Td> <Td> Glasgow </Td> <Td> Scotland </Td> <Td> Australia </Td> </Tr> <Tr> <Td> XXI </Td> <Td> 2018 </Td> <Td> Gold Coast, Queensland </Td> <Td> Australia </Td> <Td> Australia </Td> </Tr> </Table>

When was swimming first introduced to the commonwealth games