 When it came to a vote the Independent TD Tony Gregory voted against Fitzgerald but abstained on Haughey, seeing Haughey as the "lesser of two evils" (the reason for this was Gregory's opposition to the Anglo-Irish agreement as well as his personal dislike of Garrett Fitzgerald and Fine Gael).Haughey was elected Taoiseach on the casting vote of the Ceann Comhairle.Haughey now headed a minority Fianna Fáil government.