delivered the Opinion of the Court.
Arthur Heine was convicted by a Yellowstone County jury of “driving a vehicle while under the influence of intoxicating liquor,” section 32-2142, R.C.M.1947, and of “aggravated assault,” section 94-5-202, R.C.M. He was specifically accused by Information of deliberately causing a headon collision with another vehicle in which his ex-wife, son, daughter-in-law, and three week old grandchild were riding.
At trial, defendant attempted to convince the jury the collision was only an accident, and that his intoxicated condition *27obviated any possibility the act was committed with any degree of deliberateness. In response to this contention, the prosecuting attorney offered evidence which tended to refute defendant’s claim. Over his objection, defendant’s ex-wife was allowed to testify concerning several events, all taking place within three years of the assault for ivhich he has been convicted. This testimony established that defendant once tried to ram his ex-wife’s car broadside with his own; that he had twice driven his car through her garage door without first bothering to open it; and, that he once successfully attacked and stabbed her with a knife.
Additionally, several character witnesses were called to testify in defendant’s behalf, concerning his reputation for peace and quiet in the community. The prosecuting attorney was then allowed to cross-examine these witnesses through the introduction of defendant’s police record dating back to 1948. This record contained references to a number of prior arrests on charges ranging from disorderly conduct to destruction of property.
On appeal, it is first contended the district court erred in admitting evidence of other offenses, and specifically the assault committed by defendant upon his ex-wife.
It is the rule that evidence of other offenses or similar acts perpetrated at other times are inadmissible for the purpose of showing the commission of the particular crime charged. State v. Taylor, 163 Mont. 106, 121, 515 P.2d 695. However, under a well-established exception, such evidence is not excluded when offered to prove that the act charged was not the' result of accident or inadvertence, if that matter is at issue in the trial. State v. Newman, 34 Mont. 434, 440, 87 P. 462; State v. Cassill, 70 Mont. 433, 227 P. 49; State v. Hughes, 76 Mont. 421, 246 P.2d 959; State v. Simanton, 100 Mont. 292, 49 P.2d 981.
In State vm. Jensen, 153 Mont. 233, 455 P.2d 631, this Court established three criteria which determine exactly what *28type of evidence can be lawfully admitted under this exception. Thus evidence of prior offenses or acts is admissible if .such prior offenses are in some degree similar to the acts charged, are not too remote in time, and tend to establish a common scheme, plan or system.
We apply this test to the ruling of the district court and find no error. Certainly all the prior acts and offenses testified to were in the nature of, or similar to, assaults on defendant’s ex-wife. They all took place within three years of the crime charged which, under our holding in Jensen, is not too remote. Defendant himself placed the matter in issue through his attempts to show that the event was merely an accident. We note the cautionary Instruction No. 18 given by the trial judge:
“You are instructed that evidence of other offenses is to be viewed by you with caution and that such evidence is admitted for the sole purpose of permitting you to determine whether the acts alleged as constituting aggravated assault were done purposely or knowingly rather than through mistake or accident.”
The admission of this testimony was within the recognized exception, and provides no grounds for reversal.
Second, defendant claims the district court erred by receiving evidence of certain specific acts and prior arrests as shown by his police record which was ultimately admitted as an exhibit. This testimony was introduced by the prosecutor for the purpose of impeaching defendant’s character witnesses on cross-examination.
When the accused calls a witness to support his generally good reputation in the community, he opens the door to all legitimate cross-examination of that witness and must therefore accept the consequences which result. State v. Moorman, 133 Mont. 148, 153, 321 P.2d 236; State v. Cor, 144 Mont. 323, 396 P.2d 86; State v. Turley, 164 Mont. 231, 521 P.2d 690. *29The purpose of this rule was well stated by Chief Justice Brantly in State v. Jones, 48 Mont. 505, 516, 139 P. 441, 445:
“As the favorable testimony tends to sustain the presumption of innocence which the law indulges in favor of the defendant, by introducing it the defendant tenders an issue of fact, viz., whether his reputation is such as the witnesses say it is, and the prosecution has the right to cross-examine the witnesses to ascertain the sufficiency of the grounds upon which they base their statements.”
We note that here the impeachment data introduced dated back to 1948, some twenty-five years prior to the charges upon which defendant was ultimately convicted. In such a situation the protential for prejudice becomes great unless some mitigating factors are shown to exist. As this Court stated in State v. Sedlacek, 74 Mont. 201, 214, 239 P. 1002, the accused’s entire life should not be searched in an effort to convict him. However, we are satisfied that defendant suffered no prejudice under these circumstances, where the majority of the offenses introduced for impeachment purposes were not remote. The prosecution had a legal right to determine by cross-examination whether the testimony of defendant’s character witnesses had any foundation in fact, and we find that right to have been properly exercised.
Defendant’s final allegation of error involves a challenge to the jurisdiction of the district court regarding the charge of “driving a vehicle while under the influence of intoxicating liquor”. Upon conviction for this offense, defendant was sentenced to an additional year in the state penitentiary, to run concurrently with his fifteen year sentence for the assault charge.
Generally, Montana’s district courts have jurisdiction over all criminal cases amounting to a felony and in all cases of misdemeanor not otherwise provided for, Article VII, Section 4, 1972 Montana Constitution; Section 93-318, R.C.M.1947. Under section 95-302, R.C.M.1947, justice courts may assume *30jurisdiction over all misdemeanors punishable, inter alia, by a term of imprisonment not exceeding six months. The justice courts normally handle the bulk of eases involving driving while intoxicated offenses. But when an individual is convicted on such a charge for the third time, the maximum sentence may be increased to the term of one year, and the district courts become vested with jurisdiction over the matter. Section 32-2142 (d), R.C.M.1947.
Defendant seems to ground his jurisdictional challenge on the premise that evidence of the prior driving while intoxicated convictions was inadmissible since there was no showing that defendant was represented by counsel when he pled guilty to them. This specific argument was not presented to the district court on the motion to dismiss and it cannot be raised here for the first time on appeal. State v. Wilson, 160 Mont. 473, 477, 503 P.2d 522; State v. White, 153 Mont. 193, 197, 456 P.2d 54; State v. Campbell, 146 Mont. 251, 267, 405 P.2cl 978.
Judgment of the district court is affirmed.
MR. CHIEF JUSTICE JAMES T. HARRISON concurs.