(1) For a person to be guilty of an assault with intent to murder, the offense here charged, the assault must have been committed under such circumsances that, if death had resulted, the offense would have been murder (Code, § 6309, and cases cited); if it would have been manslaughter, then the person is guilty of only assault and battery, and if it would have been justifiable homicide, he would be guilty of nothing. So that, in determining the degree of a defendant’s guilt who is charged with an assault with intent to murder — that is, as to whether he is guilty of that or of a simple assault and battery- — and in determining whether he -is guilty of neither, because of having acted in self-defense, we are governed, as a rule, by the same principles as obtain in the law of homicide, and evidence that is admissible under such a charge is usually admissible under a charge of assault with intent to murder and vice versa. We will therefore, with a view to- answering and clarifying some of the questions raised in. this case, advert briefly to the law of homicide as applied to persons killing offiicers in resisting arrest; some of the evidence here tending to show that defendant shot the prosecutor in resistance of an attempted arrest.
(2) If an officer be killed by one resisting a lawful arrest, the killing will be murder.
(3) An unlawful arrest, or an attempt to make an unlawful arrest, stands upon the same footing as any other nonfelonio-us assault, or as a.common assault and battery; hence the person against whom such unlawful attempt is directed is not bound to yield, and may resist with force, but he is not authorized to go beyond the force reasonably necessary to resist the assault; that is, to use force greatly disproportionate to the assault. If he does, then he himself becomes a wrongdoer, and if *160death results from his act, he will be guilty of murder or manslaughter, depending on the circumstances of the case, unless the unlawful attempt to arrest him was persisted in by the officer and such violence was used in the effort that to kill the officer becomes necessary, or reasonably seems to be so, in order to save his own life or to prevent serious bodily harm to himself. In other words, the mere attempt to arrest unlawfully will not, where the attempt creates no reasonable belief that the officer seeking to make the arrest will do great bodily ¡harm, excuse a homicide.—Noles v. State, 26 Ala. 31, 62 Am. Dec. 711; Eiland v. State, 52 Ala. 328; Bostic v. State, 94 Ala. 47, 10 South. 602; Brown v. State, 109 Ala. 90, 20 South. 103; Dryer v. State, 139 Ala. 119, 36 South. 38. As was well said in a late case by our Supreme Court: “It is better to submit to an unlawful arrest, though made with force, but not with such force as to endanger the life or limb, than to slay the officer.”—Adams v. State, 175 Ala. 12, 57 South. 591. And again: “Where the person [sought to be unlawfully arrested] has no reasonable cause to apprehend any worse treatment than a legal arrest should subject him to, it is his duty to submit and seek redress from the law.”—Williams v. State, 44 Ala. 41.
(4, 5) A lawful arrest may be made by an officer without a warrant for any public offense, whether misdemeanor or felony; or for a violation of a municipal ordinance, committed in-his presence; or for a breach of the peace threatened in his presence; or when a felony has been committed; though not in his presence, by the person arrested; or when a felony has been committed and he has reasonable cause to believe that the person arrested committed it; or when he has.reasonable cause to believe that the person arrested has com*161mitted a felony, although it may afterwards appear that a felony had not in fact been committed; or on a charge made, upon reasonable cause, that the person arrested has committed a felony (Code, §§ 6267, 6269; Jones v. State, 100 Ala. 88, 14 South. 772); but no officer has authority without a warrant to arrest for a misdemeanor, or for a violation of a town ordinance (Jones v. State, supra), not committed in his presence. If he attempts to do so, he is a trespasser; and, even in cases where he has authority to arrest without a warrant, he is also a trespasser, unless he inform the person he attempts to detain of his authority and of the cause of the arrest, except when such person is in the actual commission of a public offense, or on pursuit, and except when such person has knowledge of the official character of the officer and of the presence of the conditions for the exercise of official authority and of the officer’s purpose.—Code, § 6270; Broken v. State, 109 Ala. 71, 20 South. 103; Richards v. Burgin, 159 Ala. 282, 49 South. 294, 17 Ann. Cas. 898; Rutledge v. Rowland, 161 Ala. 114, 49 South. 461; Sanderson v. State, 168 Ala. 109, 53 South. 109; King v. State, 89 Ala. 43, 8 South. 120, 18 Am. St. Rep. 89. And although the person may have knowledge of the official character of the officer, yet, unless he also has knowledge or is notified or informed of the purpose of the officer to' arrest him and the cause thereof, such officer may be treated and regarded as a personal assailant, and his assaults resisted to the same extent, even when the officer has a lawful cause for the exercise of official authority, since he is only entitled to recognition and submission to as an officer when he purports to exercise official authority, and not when he acts merely in a private capacity and *162from individual motives.—Code, § 6270; Brown v. State, supra; Sanderson v. State, supra.
(6) Barrett, the officer alleged here to have been assaulted by the defendant, makes no pretense that, at the particular time he was assaulted, he was attempting to arrest defendant — in fact, his testimony tends to show that at that particular time he had just given up the search and was en route home, when he was suddenly and unexpectedly attacked by defendant, who, without a word passing between them, shot at him. In view of this testimony, we think it was competent for the state to show that for some half hour and up to and shortly before the shooting, Barrett had, as an officer, in conjunction with the sheriff, whom he had summoned to assist him, been looking for defendant for the purpose of arresting him, as there was also evidence tending to show that defendant knew this. If he did, the evidence was certainly admissible, as tending to establish an immediate motive for defendant’s act. And while the charge upon which Barrett and the sheriff were seeking to arrest the defendant without a warrant • — that is, that “he was in town drinking and had a gun” — constitutes neither a felony nor a misdemeanor under the state law (Code, § 6770; Lollar v. State, 167 Ala. 112, 52 South. 745), nor is there any proof going to show that it was a violation of the ordinances of the town of Russellville, where defendant shot said Barrett, and consequently such charge could furnish no authority to Barrett for arresting defendant, yet we think it was competent for the state to prove that such charge had been made against defendant to Barrett, as an official, and that this was the alleged offense for which he and the sheriff were so looking for defendant.
*163Defendant testified tfiat fie did not attack Barrett as the latter claimed, but tfiat Barrett attacked him suddenly, confronting him Avitfi a draAvn pistol, saying: “O, yes; G-d-you. Stop, G-d--you,” — and tfiat Barrett said nothing about a purpose to arrest him, and tfiat in view of the fact of the bad feeling previously existing betiveen film and Barrett, fie shot as Barrett raised his pistol, and to defend himself assuming tfiat Barrett in his personal capacity Avas- seeking to feloniously assault him and Avas not acting as an official and attempting to arrest him.
The sheriff, avIio Avas present, testified • tfiat Barrett exhibited no pistol, but said to defendant, “Lay down that gun,” and tfiat defendant immediately shot Barrett.
We, therefore, have three versions of the affair — tfiat of the defendant, tfiat of the sheriff, and tfiat of Barrett — the defendant’s testimony tending to show a personal assault on him by Barrett, the sheriff’s testimony tending to show an attempt by Barrett to arrest defendant, and Barrett’s testimony tending to sIioav an absence of any knowledge on his part of even the presence of defendant until defendant was in the act of firing at him, and tfiat fie Avas fired at tAvice by defendant, and tfiat defendant then left before fie (Barrett), who was injured by the shots, could or did say or do anything.
As to Avfiat took place and as to> who was the aggressor, as Avell as the character of the aggression, at the time óf the shooting, was a material inquiry for the jury in the case, and whatever facts tended to shed light on tfiat question, without obtruding upon the minds of the jury- matters which were foreign or of doubtful pertinency, were admissible. The fact tfiat Barrett and the .sheriff had been and were in good faith looking for *164defendant to arrest Mm on a charge made, although the matters charged constituted no offense, was a circumstance tending to rebut defendant’s contention that Barrett feloniously assaulted him, and tending to give an innocent character to the motive and conduct of Barrett at the time of the shooting, and to shed light upon and aid in the interpretation of his acts at such time.—Rigell v. State, 8 Ala. App. 52, 62 South. 977; Storey v. State, 71 Ala. 329 (13th and 14th headnotes); Gafford v. State, 122 Ala. 62, 25 South. 10.
(7) The defendant, as tending also- to shed light on BarretPs alleged assault and as explaining its motive and character, had a right to show that for some time previous thereto the feeling of Barrett towards him had-not been good (Holmes v. State, 100 Ala. 80, 14 South. 864), and to this end he might show the fact of a former altercation or difficulty between them, but not the merits or details thereof.—Gray v. State, 63 Ala. 66.
(8) Barrett, however, admitted the ill feeling. He testified: “I do not remember that we had spoken since he [defendant] was arrested and put in jail [by me on a previous occasion]. It had been maybe a month since we had spoken, and I had seen him frequently. I had not spoken to him, nor he to me.”-
The court committed no- error, therefore, in declining to permit defendant, on further cross-examination, to show that Barrett, in effecting the arrest of defendant on the previous occasion referred to, used unnecessary force, and assaulted and knocked defendant down and trampled upon him.
(9) It was competent for the state to show the length of time that Barrett was confined to his bed as a result of the wounds inflicted by the defendant at the time of the assault here charged. Such evidence tended to *165show the gravity and seriousness of the injuries — a matter proper for the consideration of the jury in fixing the amount of the punishment in the event they found defendant guilty of either assault and battery or assault with intent to murder.
(10) If a part of the time Barrett was so confined to his bed was due to his addiction to the morphine habit, or other cause not attributable to the wounds inflicted by defendant, the defendant should have been allowed to show this.
(11, 12) The defendant stated that his own feelings toward Barrett were good. The court did not err, therefore, in permitting the state on cross-examination to ask the witness: “Is it not a fact that Barrett arrested you time and time again, and that there are cases now pending against you where he arrested you, and that by reason of that your feeling towards him is bad?”—Garden v. State, 84 Ala. 417, 4 South. 823.
If, however, there was any error in permitting the question to be asked, it was harmless, as it appears the witness answered in the negative.
(13) The court committed no error in declining to let the defendant state as to his uncommunicated purpose or intention in buying the shells and borrowing the gun with which he shot Barrett.—Harris v. State, 8 Ala. App. 33, 62 South. 477; Hardin v. State, 8 Ala. App. 125, 63 South. 18.
(14) He should have been permitted, however, to testify that just before he borrowed the gun in town that day he had heard that Barrett was mad and was out hunting for him with a gun, as this was a fact tending to explain defendant’s purpose in also getting a gun, and tending to support defendant’s evidence of self-defense.—1 Mayf. Dig. 838, § 2.
*166(15) While the state might prove any threats made by defendant against Barrett, and under some circumstances the acts accompany those threats, if a part of the res gestae of them, yet certainly it was error to permit the state, as here, to show that on several previous occasions defendant was in town with a gun.—Harkness v. State, 129 Ala. 71, 30 South. 73; Willingham v. State, 130 Ala. 35, 30 South. 429; May v. State, 167 Ala. 36, 52 South. 602.
(16) Charge 1, refused to defendant, if not bad as argumentative, is covered by given charges 8, 14, and 22.
Charge 2 refused to defendant was covered by given charge C.
(17-19) Charges 3 and 4, refused to defendant, while asserting correct propositions, were properly refused under the facts of this case, as being calculated to mislead and confuse the jury, and as singling out and giving undue prominence to a part of the evidence and as ignoring theories, supported by the evidence, upon which defendant would be guilty, as hereinbefore pointed out, notwithstanding Barrett had no right to arrest him, as asserted in the charges.
For the errors pointed out, the judgment is reversed, and the cause remanded.
Reversed and remanded.