Llŷr connects with Mabinogion
Llŷr (Welsh: Llŷr Llediaith (Welsh pronunciation: [ˈɬɨːr ˈɬɛðjaiθ]); Lleddiaith meaning "half-speech" or "half-language") is a figure in Welsh mythology, probably originally a deity, probably derived from Irish Ler ("the Sea"), father of Manannán mac Lir. 
Other than his progeny and odd titbits, his identity remains obscure.
Llŷr appears as the father of Brân, Brânwen and Manawydan by Penarddun in the Branwen, Daughter of Llyr, the Second Branch of the Mabinogi.The Welsh Triads states that Llŷr was imprisoned by Euroswydd, and presumably, Penarddun subsequently married Euroswydd, giving birth by Euroswydd to her two younger sons, Nisien and Efnisien, as stated in the Second Branch.William Shakespeare's play King Lear is based on material taken secondhand (through Raphael Holinshed) from Geoffrey of Monmouth's mythical king King Leir, who has often been connected, but is likely unrelated, to Llŷr.