A 31-year-old man has gone on trial for the murder of his 74-year-old father two years ago.

Edward Boylan Jnr has pleaded not guilty to murdering his father, Edward Boylan Snr, at a gated retirement complex at Ravensdale Close in Crumlin in Dublin between 6 and 7 January 2012.

The jury was told that the only issue in the case was the state of mind of Mr Boylan Jnr at the time.

His defence counsel Caroline Biggs said her client admitted that he had stabbed his father repeatedly with a sword and that his father had died as a result.

Prosecuting Counsel Conor Devally said that on 6 January 2012 Mr Boylan Jnr was released from Mountjoy Prison.

He had no home to go to as his father had moved out of the family home and into a gated community.

Mr Devally said that Mr Boylan Jnr went to his father's home that night.

He said that at some point he used a bayonet or sword and plunged it through his father's chest 11 or 12 times, leaving his father lying dead on a bed.

He left the apartment but returned soon afterwards, after buying matches and lighter fluid, and set fire to the area where his father's body was.

He was detained by gardaí for public order offences on Grafton Street later on 7 January.

Mr Devally told the jury this was an unusual case, as all they had to decide on was Mr Boylan Jnr's state of mind.

The case is continuing.