MINNEAPOLIS (WCCO) — A 21-year-old Minneapolis man was sentenced Wednesday to more than eight years in prison for his part in two violent, gang-related crimes last fall, both filmed on cellphones.

According to the Hennepin County Attorney’s Office, Allen Derrell Gaines was convicted of one count of aiding and abetting aggravated robbery in two separate cases.

On Nov. 9, 2013, Gaines was involved in the beating and robbery of a man who had just sold his car in the alley of the 5100 block of Fremont Avenue North in Minneapolis. In a cellphone video, the victim is shown being lifted off his feet before being slammed to the ground, his head clearly bouncing off the pavement.

On Nov. 18, 2013, a woman was picked up by a man she knew who said he wanted to go to the Albertville Mall. He drove her to the same alley of the previous crime, where at least four women beat her, cutting her hair and hand with scissors in the process. They also stole her purse, boots and cellphone.

Gaines and another man encouraged the attack and captured it all on their cellphones, later posting a video on Facebook.

Police were alerted to the video and made several arrests, confiscating Gaines’ phone in the process. Videos of both the Nov. 9 and Nov. 18 attacks were on his phone, and in one of the videos, Gaines’ nickname – Nasty – is said by one of the attackers.

There is also reference to the Kickadoe street gang, and one of the men arrested in connection with the Nov. 9 beating said the attacks were against their rivals, the Tre-Tre gang.