Amir Ali, 28, and an accomplice were caught on CCTV trying to lob the home-made grenade through the window of the Imperial Pub, in Crawley, Sussex.
The footage shows Ali smashing the window with two bricks and his accomplice throwing the bomb.
But the plan drastically backfires when the exploding Molotov cocktail strikes Ali in the head.
The pair then attempt to flee – but dazed Ali runs straight into a lamppost.
The incident, in the early hours of May 28, 2008, left Ali needing medical treatment.
It was after he admitted himself to a walk-in medical centre that police were able to link him to the attack.
Detective Constable Craig Allan said: “This was a prolonged and difficult investigation during which the defendant consistently denied being responsible.
“However, gradually we were able to piece it all together and today’s sentence reflects the seriousness with which the courts take this kind of behaviour.”
The other man involved in the attack has never been traced.Post published in: News