Catherine Connolly, an independent lawmaker known for her support of Palestinians and her criticism of European Union policies, has been elected as the new president of Ireland. She will serve in this role for the next seven years.