Police officials said that the court passed the imprisonment sentence today sending Zaki Qazi of the little known Lashkar-e-Mehdi group to jail.
Qazi and his accomplice Tabish Hussain in May 2011 lobbed grenades at the Saudi consulate building in Defence Society while riding through on a motorcycle. The attack caused no casualties.
Hussain was killed during an encounter with the police later that year but Qazi was arrested alive by the police.
Pakistan has been hard hit by sectarian violence since then with militant Sunni groups mostly targeting Shia Muslims all over the country and according to an estimate hundreds have been killed in the past two decades.
Shia's form roughly 20 per cent of the country's population.
Analysts believe that militant Sunni groups are funded by donors in Saudi Arabia which follows a hard-line version of Sunni Islam.
