A court in Ireland handed down a sentence in the killing after the accused was found to have diminished responsibility.