The Office of President was established by The Constitution (Bunreacht na h Éireann). The President is elected directly by the people.