Gruffudd ab Ednyfed — Courtier in Gwynedd