Section 2 Jurisdiction of court

Section 2. The district courts, and in Boston, the municipal court of the city of Boston, shall have jurisdiction to divert to a program, as defined in section one, any person who is charged with an offense or offenses against the commonwealth for which a term of imprisonment may be imposed and over which the district courts may exercise final jurisdiction and who has reached the age of seventeen years but has not reached the age of twenty-two, who has not previously been convicted of a violation of any law of the commonwealth or of any other state or of the United States in any criminal court proceeding after having reached the age of seventeen years, except for traffic violations for which no term of imprisonment may have been imposed, who does not have any outstanding warrants, continuances, appeals or criminal cases pending before any courts of the commonwealth or any other state or of the United States, and who has received a recommendation from a program that he would, in light of the capacities of and guidelines governing it, benefit from participation in said program.