<human>:  Who was the last king of Ireland?
<bot>: The last king of Ireland was Brian Boru. He was king from 940 to 982. He was a great warrior and leader who led the Irish to victory over the Vikings.