A man has pleaded guilty to viciously bashing gay men after luring them to public places with promises of sex using the dating app Grindr.

James Joseph Katchan, 20, pleaded guilty in Western Australia’s District Court on Thursday to five attacks on gay men, according to the West Australian.

Four of the attacks happened over 10 days in January 2017, leaving one victim with bleeding on the brain and another with head injuries after being hit with a baseball bat embedded with metal rings.

Cody Parkinson, 19, (pictured) also admitted his role in the final attack in March where this photo was used to lure a 57-year-old man to a park

As the man approached Parkinson, Katchan and two others hid in a bush before confronting the man saying they were ‘a group who guard the area from faggots and paedophiles’

Cody Parkinson, 19, also admitted his role in the final attack in March where his photo was used to lure a 57-year-old man to a park.

As the man approached Parkinson, Katchan and two others hid in a bush before confronting the man saying they were ‘a group who guard the area from faggots and paedophiles’.

The man was then punched, kicked and stomped on by four other men, who then left him for dead.

Katchan’s first attack was on January 21, when he met the 35-year-old victim online and arranged to meet him at a park in Kenwick, a suburb of Perth.

When the victim arrived at the park, Katchan greeted him by saying ‘Hey faggot’ before punching him multiple times, filming the attack on his phone.

The man received cuts, a fractured eye socket and black eyes before spending the night in Royal Perth Hospital.

The man was then punched, kicked and stomped on by four other men, who then left him for dead

Two days later Katchan met a 33-year-old man at a park in Canning Vale, hitting him in the head with the modified baseball bat.

The victim needed five stitches after suffering cuts to his head.

Five days later Katchan lured another man to an oval near a primary school in Canning Vale, kicking and punching the man before he was forced to lock himself in his car to escape.

On January 31 a 29-year-old man was ambushed by Katchan, who smashed a bottle over the man’s head.

In March, Katchan used a photo of Parkinson on Grindr with permission in order to lure the 57-year-old man

Later in March, Katchan used a photo of Parkinson on Grindr with permission in order to lure the 57-year-old man.

Two other men have been charged over the attack.

Judge Vicki Stewart adjourned sentencing until December, calling the attacks ‘very serious offences’.