A man who was beaten in an unprovoked attack while eating at a Miami restaurant shot his attacker just moments later.

The CCTV footage was recorded inside The Licking restaurant in North Miami, Florida, at around 6.30 on Tuesday evening.

In the video, 21-year-old Tamario Rolle can be seen in the left-hand corner of the screen sitting at one of the tables with a box of fries in his hands.

He continues to eat his meal as he exchanges glances with another of the takeaway shop's customers, 24-year-old Henry Poumier-Cristo.

The interaction between the pair appears to become increasingly heated before Poumier-Cristo, who is sat at the next table along wearing a blue t-shirt, gets to his feet.

He strides toward Rolle before punching at his head repeatedly in an unprovoked attack.

The CCTV footage was recorded inside The Licking restaurant in North Miami, Florida, at around 6.30 on Tuesday evening as two customers, Tamario Rolle and Henry Poumier-Cristo, exchanged glances

Poumier-Cristo gets to his feet and strides toward Rolle before punching at his head repeatedly in an unprovoked attack

Rolle, who has remained seated up until this point, then tries to stand up but Poumier-Cristo holds him down in a kind of headlock.

The pair continue to grapple with each other until Rolle manages to break free and darts past his opponent.

Rolle is only off screen for a few seconds before he walks back into shot holding a black Glock pistol in his right hand that he has pulled from his waistband.

Poumier-Cristo stops in his tracks before hurriedly turning around to run through the shop and out of the front door.

Rolle, who has remained seated up until this point, then tries to stand up but Poumier-Cristo holds him down in a kind of headlock

The pair continue to grapple with each other until Rolle manages to break free and darts past his opponent

Other customers standing near the counter huddle together as they try to dodge out the way of the action.

Poumier-Cristo manages to reach the road before Rolle raises the gun and fires seven rounds from about three meters away.

Flashes of orange can be seen as the gun sparks repeatedly.

Rolle then calmly turns around and strolls back into the fast-food shop.

Rolle walks back into shot holding a black Glock pistol in his right hand that he has pulled from his waistband. Poumier-Cristo stops in his tracks before hurriedly turning around to run through the shop and out of the front door

Poumier-Cristo manages to reach the road before Rolle raises the gun and fires seven rounds from about three meters away and the video ends shortly after

In a second angle of the attack, Poumier-Cristo can be seen dropping to the floor in the middle of the carriageway after the shots are fired.

The video ends shortly after.

Emergency services arrived on the scene a short time later.

Poumier-Cristo had been hit four times in the right leg.

In a second angle of the attack, Poumier-Cristo can be seen dropping to the floor in the middle of the carriageway after being hit four times in the leg

He was taken to the Jackson Memorial Hospital's Ryder Trauma Center by Miami-Dade Fire Rescue in a stable condition.

Rolle had remained at the scene where he was detained and co-operated with investigators.

Rolle had entered the restaurant first before Poumier-Cristo, who is a Grubhub driver, sat down to wait to collect orders, according to the arrest report.

Tamario Rolle (pictured) now faces one count of aggravated battery with a deadly weapon

Authorities say that Rolle claimed that the initial attack was unprovoked.

But officers added that as the Grubhub driver was retreating outside the business he was not justified in the shooting.

Speaking to CBS4, North Miami police officer and spokeswoman Natalie Buissereth said: 'What we have here is a victim who turns into an aggressor and an aggressor who becomes a victim...

'From what we know these two men did not know each other.

'They were strangers to each other.'

Rolle now faces one count of aggravated battery with a deadly weapon.

Poumier-Cristo will not be facing any charges in relation to the attack despite having appeared to start the fight.

The Licking is a popular chicken restaurant chain that is owned in part by hip-hop star DJ Khaled.