Prior to the 1999 completion of the Cardiff Bay Barrage, Cardiff Bay and the tidewater sections of the Rivers Ely and Taff were a saltwater estuary which filled and emptied twice daily with tides as high as 12 meters .