sentences:  The docks at Connah's Quay became a vital source of trade and finance for the greater Flintshire area, and with the advent of the railways during the 19th century a number of railway companies began to appear.The first railway to appear in the area was the Chester and Holyhead Railway running across the coast of North Wales linking the rest of the Great Britain with Ireland via the port at Holyhead.The purpose of this railway was chiefly for post to and from Ireland.