Michelle O'Neill was elected as the first minister of Northern Ireland on Saturday, local media reported.