He became Professor of Irish at University College Dublin , where one of his students was future Attorney-General and President of Ireland , Cearbhall Ã `` DÃ laigh . He returned to academia , as Professor of Irish at University College Dublin , where one of his students was future Attorney-General and President of Ireland , Cearbhall Ã `` DÃ laigh .