Darryl Bernard Watts, a state prisoner convicted of one count of rape and two counts of rape in concert, appeals in pro-pria persona from the denial of his petition for a writ of habeas corpus. Watts claims that the state improperly punished him twice for a single criminal act and that the trial court incorrectly instructed the jury. We affirm.
I.
FACTS AND PROCEEDINGS BELOW
On March 18, 1980, in El Toro, California, Watts and two others, Simmons and Montgomery, forced Sharon B. at gun point to let them into her home. Once inside, the three men bound and gagged Sharon B. and her husband and began searching through the house. Upstairs they found Kathy B., Sharon B.’s fourteen-year-old daughter, in her bed. The men brought Kathy B. downstairs to her parents. Watts watched over the family for a short time while Simmons and Montgomery continued to search through the rest of the house.
When Simmons and Montgomery returned, they took Kathy B. back upstairs. Each of them then raped her at gun point while Watts remained behind to guard her parents. When they had finished, Watts went upstairs to join them. He stated in crude terms that he also wanted to rape Kathy B. and then proceeded to do so. The three men, afterwards, bound Kathy B., stole the family car, and drove away, thus concluding their cruel and brutal venture.
A jury in a California Superior Court convicted Watts of one count of rape and two counts of rape in concert for aiding and abetting Simmons and Montgomery. *687 The court sentenced Watts to imprisonment for a term of nine years for the rape and for two consecutive terms of seven years each for the rapes in concert. Various other sentences, for conduct Watts committed elsewhere, are running concurrently with these sentences.
The California Court of Appeal affirmed the judgment and the California Supreme Court denied review. The United States district court below denied Watts’ petition for a writ of habeas corpus in May 1988. Watts timely appealed to this court.
II.
JURISDICTION AND EXHAUSTION
The district court had jurisdiction to consider Watts’ petition for a writ of habeas corpus under 28 U.S.C. § 2254(a) (1982). We have jurisdiction over Watts’ appeal under § 2253. Watts has exhausted his remedies in state court.
III.
STANDARD OF REVIEW
We review de novo the denial of a writ of habeas corpus.
See Carter v. McCarthy,
IV.
MULTIPLE PUNISHMENTS FOR A SINGLE ACT
Watts first contends that the California courts should not have imposed two sentences for rape in concert. Although Watts admits that Simmons and Montgomery each raped Kathy B., he adamantly asserts that California can punish him only once for his single act of guarding her parents. To support his position, Watts attempts to rely on both state and federal law. He bases his state law argument on CaLPenal Code § 654 (West 1982), which provides: “An act or omission which is made punishable in different ways by different provisions of this code may be punished under either of such provisions, but in no case can it be punished under more than one....” Although it seems highly unlikely that the California courts violated this provision in sentencing Watts, we cannot review the contention as a matter of state law because 28 U.S.C. § 2254(a) (1982) authorizes the federal courts to grant habeas corpus relief only for violations of federal law.
We must consider, however, Watts’ alternative argument that imposing the two sentences for a single act violates the Fourteenth Amendment’s due process clause. Watts reads the Supreme Court’s decision in
Ball v. United States,
*688
We hold that no violation of due process has occurred in this case. The
Ball
and
Arbelaez
cases do not apply because California punished Watts for two separate criminal acts, not twice for a single act. The ancient and universally accepted principle of accomplice liability holds a defendant legally responsible for the unlawful conduct of others that he aids and abets.
See generally
W. LaFave & A. Scott,
Criminal Law
§ 6.6, at 575 (2d ed. 1986). California, applying this principle as embodied in its law, quite properly punished Watts for each of the two acts of rape in concert that he aided and abetted when he guarded the parents. Nothing in the Constitution prohibits this; indeed, in applying federal law, this court routinely has upheld convictions for multiple crimes aided and abetted by a single course of conduct.
See, e.g., United States v. Rubier,
V.
ERRONEOUS JURY INSTRUCTIONS
Watts also seeks relief on the basis of an erroneous jury instruction regarding the requirements of aiding and abetting under California law. The state trial court based one of the jury instructions on CALJIC No. 3.01 (1979) (current version at CALJIC 3.01 (1984)), which explained that mere knowledge of the perpetrator’s unlawful purpose satisfies the
mens rea
requirement for aiding and abetting. In
People v. Beeman,
We have confronted
Beeman
errors in several recent habeas corpus cases.
See Leavitt v. Vasquez,
We held in
Leavitt
and
Willard
that, even if use of CALJIC 3.01 had violated Winship's requirements, the error did not require reversal because it was harmless beyond a reasonable doubt.
See Leavitt,
at 262;
Willard,
The threat to Kathy B. was evident to all. The jury, as instructed pursuant to the defective CALJIC 3.01, found that Watts had acted with knowledge of Simmons and
*689
Montgomery’s unlawful purpose. We have no reasonable doubt, from the facts as stated and our review of the record, that the jury also would have found that Watts had acted with “an intent or purpose either of committing, or of encouraging or facilitating commission of, the[ir] offensefs]” as
Beeman
requires.
AFFIRMED.
