The defendant tried to justify his actions.

Literal

Defendant [topic-は] own actions [object-を] justify [tried to-しようと] struggled.

正当化しようと努めた combines volitional + と + 努める ('to strive'): 'strove to justify.' 自分の行為 = 'one's own actions.'