Ishfaq, of Edmund Road, was sentenced to four years and 10 months, while Hasan, of Gowan Road, was handed a jail term of four years and five months.

The 17-year-old was sentenced to four years and 10 months.

A fourth defendant, 22-year-old Idris Urfan of Monk Road, Birmingham was also charged with assisting an offender and sentenced to one year in prison.

Det Insp Francis Nock, of West Midlands Police said: “We want to send out a clear message that we won’t tolerate people who use weapons on our streets and demonstrate violence such as we have seen in this case.

“If you behave in this manner we will arrest and charge you and bring you before the courts and the sentences handed out here show how seriously it will be taken.”