In a text message between the two a duel was mentioned – a game of “last man standing”, according to local paper Barometern.
The 38-year-old, who was armed with a gun, brought with him his 29-year-old friend and once on the scene he fired upon the 42-year-old, who was hit in the left buttock.
When he fell to the ground both of the other men kicked and beat him and sprayed tear gas in his face, according to the prosecutor.
In connection with the assault the 42-year-old turned his own gun on the 38-year-old, injuring him in his chest and hip.
Both men survived the injuries and are both claiming to have acted in self-defence.
The court however, did not agree with them and they were subsequently sentenced to five years in prison for the attempted murder of each other.
The 29-year-old accomplice was sentenced to three years in prison.