The court heard that all of them had been drinking at a house party the night before.
After the attack they returned to the house party.
It was then alleged that they took off their blood stained clothes, and another friend Artur Woszcxyna, then drove to St Bees and threw a bag with the clothes and shoes over a cliff.
Another man, Artur Skoczen is also accused of helping cover up the murder.
All the defendants deny the charges.
The trial is expected to take up to six weeks.
More top news
22 people, including children, have been killed and around 60 people have been injured after an explosion at Manchester Arena.
Police have set up an emergency helpline for those concerned about loved ones - 0161 856 9400
Derrek Carruthers was flown from Penrith Golf Club to James Cook University Hospital after having a heart attack while playing golf.