Citations

Full opinion text

Opinion GEORGE, C. J. In this case we determine whether plaintiffs—the minor children of a woman who was shot to death by her former husband in a Los Angeles courthouse—may state causes of action for negligence, negligent infliction of emotional distress, wrongful death, and violation of civil rights against defendants County of Los Angeles and Los Angeles County Sheriff’s Department for the failure of those entities to provide adequate security against third party violence inside the courthouse. We conclude that the trial court properly sustained defendants’ demurrer to the state law claims and to the cause of action that is based upon 42 United States Code section 1983 for the claimed violation of the decedent’s civil rights. We therefore reverse the contrary judgment of the Court of Appeal. I "Plaintiffs, bringing this action through their guardians, are the minor children of Eileen and Harry Zelig. Plaintiffs’ first amended complaint named Los Angeles County, the Los Angeles County Sheriff’s Department, Harry Zelig, and 10 unnamed persons as defendants. On September 1, 1995, Eileen was murdered by her former husband, Harry, inside what was then called the Central Civil Courthouse in Los Angeles. Lisa Zelig, then six years of age, witnessed her father shoot her mother in the chest at point-blank range. Eileen and Harry were in the courthouse for the purpose of attending a family court hearing regarding spousal and child support. In their complaint, plaintiffs alleged that the following circumstances preceded this tragedy. Eileen and Harry separated in October 1993. Harry failed to comply with orders of the family court relating to spousal and child support, and Eileen sought redress in the family court on various occasions. Harry became verbally abusive toward Eileen. On at least three occasions prior to September 1, 1995, Eileen informed the bailiff in one department of the family court that she feared Harry and believed he might attack or kill her in the courthouse. On at least one prior occasion, the bailiff searched Harry for weapons before permitting him to enter the courtroom. Eileen also previously had provided the bailiff and a judge in the family court with copies of letters and telephone messages in which Harry threatened to kill her. Eileen had secured restraining orders that prohibited Harry from possessing or carrying any firearms, that ordered him to turn over his firearms to his lawyer, and that prohibited Harry from being “within 100 yards of any firearm” while in the presence of Eileen and the children. On September 1, 1995, Eileen appeared in department 27, one of the courtrooms hearing family law matters at the Central Civil Courthouse. Eileen and Harry were directed to proceed downstairs to department 1A. As she reached the second floor of the building, Harry retrieved a loaded .38-caliber revolver that had been concealed in his clothing and shot Eileen in the chest at point-blank range. Their daughter Lisa witnessed the shooting. Eileen died soon thereafter. As noted, plaintiffs brought an action against the county, the sheriff’s department, Harry, and 10 unnamed persons designated as Does I to X. With respect to the Doe defendants, plaintiffs alleged that “Does I through V had the power and authority to make decisions regarding the expenditure of funds by defendants County and Sheriff’s Department. Defendants Does I through V are named ... in their individual and official capacities.” It was further alleged that “Does VI through X [in their individual and official capacities] acted in concert with defendants County and Sheriff’s Department.” It was alleged that these 10 unnamed persons acted “under color, authority, and pretense of the statutes, ordinances, regulations, customs and usage of the State of California, Los Angeles County, and under authority of their offices,” and that their acts were “done ... in the execution and implementation of the official policy, practice and custom of defendants County and Sheriff’s Department.” Finally, it was alleged that “each of the Doe defendants was the agent or employee of defendants County or Sheriff’s Department, and . . . acted within the scope of such agency or employment.” Plaintiffs further alleged that the county, the sheriff’s department, and the Doe defendants “knew, or should have known, that defendant [Harry] Zelig had repeatedly threatened acts of violence against [Eileen Zelig] during the course of their divorce and child custody proceedings,” and that they “knew and/or should have known that the inherently contentious and acrimonious nature of family law matters in general frequently resulted in foreseeable volatile and often violent situations. Indeed, high ranking County officials, including County Board of Supervisors and Superior Court Judges were specifically aware of the likelihood that violence, including shootings, would occur in the Courthouse.” In addition, plaintiffs alleged that defendants “knew or should have known that criminal trials are frequently held in the Hill Street Courthouse and that the presence of the defendants and witnesses involved in those trials, who are not searched and do not have to pass through metal detectors, create[s] a potentially dangerous and volatile situation.” Plaintiffs alleged that defendants had a general duty to protect litigants from “such dangerous conditions, as well as a specific duty to protect [Eileen] because of the special relationship” between her and the county and the sheriff’s department. As a basis for this special relationship, plaintiffs alleged “1) Eileen was required to be in the Courthouse in order to litigate her spousal and child support claims in the Family Courts, 2) these defendants impliedly agreed to provide a reasonably safe and secure forum for Eileen and other litigants who paid fees to defendants, 3) these defendants made law-abiding persons with business in the Courthouse dependent on defendants for security by ordering that persons not introduce their own weapons into the Courthouse, and 4) these defendants made law-abiding citizens particularly vulnerable while in the Courthouse by depriving them of the ability to have weapons to protect themselves in the Courthouse.” They also alleged that the county and the sheriff’s department “assumed the duty of providing the sole legal forum in which Eileen could litigate her claims and Eileen was, in turn, dependent upon these defendants to take responsibility for the dangerous conditions which existed within the Courthouse.” Plaintiffs alleged that defendants violated their duty to protect Eileen, because they countenanced the dangerous condition of the courthouse “to the extent they allowed weapons into the courthouse, knowing that litigants, especially in the Family Courts, could be hostile and prone to violence, and once knowing the likelihood of danger to persons in the Courthouse, failed to take steps to prevent the danger.” Defendants, it was claimed, “in contravention of their aforementioned duty and despite their creating and awareness of a dangerous condition . . . failed or chose not to implement reasonably adequate barriers or other safety measures in the Hill Street Courthouse, including, but not limited to, posting adequate disclaimers and warnings, installing metal detectors or inspecting persons entering the Hill Street Courthouse for weapons.” It was further alleged that “[b]ecause of their failure to provide and use barriers and warnings and/or other measures designed to prevent the introduction of weapons into the Hill Street Courthouse, defendant Zelig was able to and did bring with him [i]nto the Courthouse a loaded .38-caliber revolver.” With respect to the 10 unnamed persons, plaintiffs alleged that “[t]he Doe employees [of the county and the sheriff’s department] negligently failed to take sufficient measures to prevent defendant [Harry] from harming Eileen, including, but not limited to failing to provid[e] metal detectors or other safety measures to prevent the introduction of weapons into the Courthouse, failing to warn her about the lack of security at the Courthouse, [and] failing to notify the appropriate authorities of the danger to her.” Plaintiffs’ first cause of action, brought against all defendants except Harry, was denominated one for wrongful death but was treated by the Court of Appeal as a claim that the county maintained the courthouse in a dangerous condition. Plaintiffs claimed that defendants had a duty to implement reasonable safety or security measures and deliberately and knowingly failed to do so, in violation of Government Code sections 815.2, subdivision (a), 815.6, and 835. They alleged that defendants’ “failure to install barriers or other safety measures, including but not limited to the installation of metal detectors, the posting of warnings or the conducting of searches of persons entering . . . [the courthouse] created a dangerous condition of property.” They asserted that the lack of safety measures proximately caused Eileen’s death, and that her death was a reasonably foreseeable consequence of the failure to implement adequate security measures. In their second cause of action based upon 42 United States Code section 1983, also brought against all defendants except Harry, plaintiffs alleged that defendants, acting under color of law, “negligently, recklessly, intentionally, and in bad faith deprived [Eileen] of her rights” under federal law in that they unreasonably failed to employ reasonable warning or security measures at the courthouse. They alleged that defendants had a special duty to protect Eileen, because she was required to litigate her support claims in the family court and therefore was required to rely upon defendants to protect her. They alleged that defendants acted with deliberate indifference to Eileen’s rights, asserting that defendants’ acts deprived Eileen “of her right to substantive due process under the Fourteenth Amendment, by depriving her of a) her liberty and b) her right of access to the Courts.” Plaintiffs’ third cause of action was a wrongful death claim against Harry, and that claim is not before us. Similarly, plaintiffs’ fourth cause of action for negligent infliction of emotional distress against Harry is not before us. Plaintiffs’ fifth cause of action alleged negligent infliction of emotional distress against the county, the sheriff’s department, and 10 unnamed persons. Plaintiffs alleged that as a result of defendants’ negligence, Lisa was present and witnessed her father shoot her mother, and that she saw her mother covered in blood and understood her mother had suffered a critical injury. Plaintiffs’ sixth cause of action was against the county alone. Plaintiffs alleged that the county’s negligence caused their injury, citing Civil Code section 1714. They alleged that the county invited members of the public onto the property, charged fees for the use of the facilities, and ordered litigants to appear in court. They alleged that these circumstances created a “special relationship with the members of the public who enter the Courthouse on court-related business, including [Eileen] and [Lisa].” This special relationship gave rise to a duty of care, they claimed. Plaintiffs alleged that the county maintained the property in a negligent manner, thereby increasing the likelihood of crime by (1) failing to provide metal detectors or other adequate security measures that would prevent the introduction of weapons into the courthouse and failing to warn of the lack of security at the courthouse; (2) failing to train employees “how to handle potentially violent situations among litigants,” and (3) failing to install emergency alarms. In the seventh cause of action, also for negligence, brought against the county, the sheriff’s department, and the unnamed defendants, plaintiffs alleged that unnamed persons who were employees of the county and the sheriff’s department knew of Eileen’s peril. Plaintiffs alleged that the employees “had contact with [Eileen Zelig] and knew of the risk of danger posed to [her] by defendant Zelig specifically, and to [her] and those similarly situated, by all litigants who were permitted to bring weapons into the Courthouse. These employees therefore had a special relationship with [her]. As a result of that special relationship, these employees owed a duty of care to [her.]” Plaintiffs alleged that the employees negligently failed to take measures to protect Eileen, “including, but not limited to failing to provid[e] metal detectors or other safety measures to prevent the introduction of weapons into the Courthouse, failing to warn her about the lack of security at the Courthouse, [and] failing to notify the appropriate authorities of the danger to her.” Plaintiffs based this claim upon the potential liability of a public employee under Government Code section 820, and the liability of public entities for injuries caused by employees acting within the scope of their employment, as provided in Government Code section 815.2. In the eighth cause of action against the county, plaintiffs alleged the county breached an implied contract to provide a reasonably safe venue for the resolution of legal claims that the public is required to pursue and defend in the courthouse. Plaintiffs prayed for general and special damages, costs and fees, and injunctive relief to prevent the occurrence in the future of similar assaults. Defendants demurred on the grounds that they did not owe Eileen a duty of care, that they had not maintained property in a dangerous condition, and that they were immune from liability. With respect to the claim under 42 United States Code section 1983, defendants contended that the complaint failed to allege facts demonstrating that defendants acted with deliberate indifference to plaintiffs’ rights. Defendants also claimed there was no contract between Eileen and defendants. The trial court sustained defendants’ demurrer to the first amended complaint without leave to amend, and ordered dismissal. The court explained it believed that under Government Code section 845 the county and the sheriff’s department were immune from liability on the state law claims. That statute affords governmental immunity for failure to provide police services. With regard to the claim under 42 United States Code section 1983, the court sustained the demurrer on the ground that plaintiffs had failed to establish any state action. Plaintiffs appealed. The Court of Appeal reversed the judgment of the superior court. Referring to Civil Code section 1714 as a statutory basis for imposing liability on the public entity defendants for their negligence, it concluded that the county as landowner stood in a special relationship with persons entering the courthouse to do business. The appellate court stated that as a landowner and “the party controlling the courts, [the county] owes a duty to take reasonable steps to provide safe courthouses to those who enter.” The Court of Appeal offered two policy reasons in support. First, it pointed to the state’s monopoly over family law matters, the fundamental rights involved for family law litigants, and the circumstance that litigants have paid fees for access to the courts. Second, it referred to a Judicial Council of California policy recognizing the need for safe courthouses. The appellate court concluded that “if it is foreseeable that a danger of criminal activity may cause injury to patrons of the courthouses, the [c]ounty owes a duty to take reasonable steps to implement security measures to protect against it. We reach this conclusion because of the peculiarly adversarial nature of judicial proceedings, the near monopoly the state has on the judicial forum in some cases, the enunciated policy of encouraging safe courthouses, the extent of the burden to the [c]ounty and the beneficial consequences to the community of imposing a duty to exercise care in courthouse facilities.” The Court of Appeal next addressed the issue of foreseeability. It determined that plaintiffs would be able adequately to allege foreseeability if they are able to assert that prior similar incidents have occurred in any Los Angeles courthouse. It also concluded that plaintiffs should have an opportunity to amend the complaint to meet this requirement. The appellate court concluded the complaint adequately alleged the county’s breach of duty in that “the [c]ounty maintained the courthouse in a negligent manner by failing to provide metal detectors or other safety measures, including emergency alarms, to prevent the introduction of weapons into the courthouse and then failing to provide warnings of the lack of security in the courthouse.” With an amendment alleging prior similar incidents, the Court of Appeal concluded, plaintiffs may state a cause of action based on Civil Code section 1714. The Court of Appeal also determined in light of Government Code section 835 that plaintiffs had stated a claim against the public entity defendants for injury caused by a dangerous condition of public property. It recognized that liability for maintaining property in a dangerous condition cannot be based solely upon the criminal acts of third parties. There also must be some defect in the property “such as where the public entity defendant maintained the property in such a way so as to increase the risk of criminal activity.” The appellate court concluded that if, after remand, plaintiffs are able to allege prior similar incidents in any other courthouse in the county, plaintiffs adequately will allege the . existence of a dangerous condition of property in the county’s “failure to ‘take[] measures to prevent . . . violent conduct from occurring in the Hill Street Courthouse’ in light of its knowledge of volatile conduct in courthouses in the [cjounty and the generally volatile nature of family law in particular and litigation in general. A reasonable person could easily conclude that the lack of security measures created a substantial risk of injury when the courthouse is used with due care in the manner in which it was foreseeable it would be used. [Citation.] As in [earlier cases], plaintiffs allege the dangerous condition was the lack of reasonable preventative measures which increased the likelihood of violence by allowing the introduction of weapons into the courthouse. Moreover, this defective condition, combined with the presence of a sheriff’s station and signs warning that weapons are prohibited in the courthouse, both lulled Mrs. Zelig into believing it was safe to [be] in the corridor outside the courtroom and enabled Dr. Zelig to carry a gun into the courthouse knowing that the [c]ounty would not prevent him.” (The parties agree that signs are posted in the courthouse stating that Penal Code section 171b prohibits persons from bringing weapons into the courthouse.) With respect to the seventh cause of action based on an alleged duty of employees of the sheriff’s department to prevent harm to Eileen, the Court of Appeal evidently concluded plaintiffs had failed to state a cause of action, at least with respect to nonpolicymaking employees. The appellate court observed that “[t]his claim . . . cites [Government Code] section 820 involving the liability of public employees. Elsewhere, the complaint repeatedly asserts that a deputy had responded to Mrs. Zelig’s earlier specific requests, suggesting that a particular duty to protect Mrs. Zelig existed on September 1, 1995. However, that Deputy Carter had in the past aided Mrs. Zelig, does not indicate that the County assumed any additional, particular task on September 1, 1995. Plaintiffs do not allege any official induced Mrs. Zelig to rely on a promise that the sheriff’s department would protect her that day. [Citation.] The allegations show that Mrs. Zelig did not request aid from any sheriff on September 1, 1995. Nor have plaintiffs alleged the sheriff’s department had affirmatively assumed the responsibility to protect her that day.” (Italics omitted.) The Court of Appeal further held that with amendment, plaintiffs could state a claim for negligent infliction of emotional distress but not for breach of contract. It determined that plaintiffs should be afforded an opportunity to amend their complaint to state a claim under 42 United States Code section 1983 on the theory that defendants had created the danger to which Eileen was subject. Finally, the Court of Appeal rejected the claim that defendants possess immunity under Government Code section 845, which bars liability based upon a public entity’s “failure to provide sufficient police protection services.” The appellate court asserted that this provision does not immunize failure to take precautionary measures when such measures do not involve “ ‘the kind of “budgetary and political decisions which are involved in hiring and deploying a police force.” ’ ” The court concluded that plaintiffs stated a claim by alleging “the failure of the [cjounty as landowner to implement ‘precautionary measures’ that do not involve the police or rise to the level of ‘police services,’ and that do not involve political and budgetary decisions about hiring and deploying police.” (Italics omitted.) On the other hand, the court stated, defendants’ “failure to deploy deputies to protect Mrs. Zelig” falls within the immunity of Government Code section 845. We granted review on petition of defendants county and sheriff’s department. (Defendant Harry Zelig is not a party in this appeal.) II In determining whether plaintiffs properly stated a claim for relief, our standard of review is clear: “ ‘We treat the demurrer as admitting all material facts properly pleaded, but not contentions, deductions or conclusions of fact or law. [Citation.] We also consider matters which may be judicially noticed.’ [Citation.] Further, we give the complaint a reasonable interpretation, reading it as a whole and its parts in their context. [Citation.] When a demurrer is sustained, we determine whether the complaint states facts sufficient to constitute a cause of action. [Citation.] And when it is sustained without leave to amend, we decide whether there is a reasonable possibility that the defect can be cured by amendment: if it can be, the trial court has abused its discretion and we reverse; if not, there has been no abuse of discretion and we affirm. [Citations.] The burden of proving such reasonable possibility is squarely on the plaintiff.” (Blank v. Kirwan (1985) 39 Cal.3d 311, 318 [216 Cal.Rptr. 718, 703 P.2d 58]; see also McCall v. PacifiCare of Cal., Inc. (2001) 25 Cal.4th 412, 415 [106 Cal.Rptr.2d 271, 21 P.3d 1189] [noting that our review is de novo].) We begin our analysis of plaintiffs’ claims with some observations about the obligation of public entities to protect the public against crime. Contrary to the suggestion of the Court of Appeal, the general rule is that although the government may assume responsibility for providing adequate police protection against third party violence, this does not create a legal duty that normally will give rise to civil liability. In this and in other jurisdictions, it is well established that public entities generally are not liable for failing to protect individuals against crime. (Williams v. State of California (1983) 34 Cal.3d 18, 23-24 & fn. 3 [192 Cal.Rptr. 233, 664 P.2d 137]; Benavidez v. San Jose Police Dept. (1999) 71 Cal.App.4th 853, 859-860 [84 Cal.Rptr.2d 157]; 5 Speiser et al., The American Law of Torts (1988) § 17:48, pp. 377-378; Prosser & Keeton, Torts (5th ed. 1984) § 131, pp. 1049-1050; Armacost, Affirmative Duties, Systemic Harms, and the Due Process Clause (1996) 94 Mich. L.Rev. 982, 996-997; Note, Police Liability for Negligent Failure to Prevent Crime (1981) 94 Harv. L.Rev. 821, 822-823; Sklansky, The Private Police (1999) 46 UCLA L.Rev. 1165, 1281-1283; Annot., Liability of Municipality or Other Governmental Unit for Failure to Provide Police Protection from Crime (2001) 90 A.L.R.Sth 273, § 2, and cases collected.) This general rule may be expressed as a limitation on duty or as a form of governmental immunity. Whether the rule is seen as a limitation on duty or a question of immunity, the reasons for the rule are identical. As one commentator explains: “Underlying this result is a belief that the level of police protection is an allocative question best left to the political branches. To a great extent this notion also underlies the Supreme Court’s refusal to recognize a due process right to safety and security .... The idea that adequate policing is best left to politicians rests in turn on three commonly advanced arguments. The first is that courts are poorly equipped to determine the amount of funding the public should spend on any particular service because they lack sufficient information about the budgetary tradeoffs. The second is that justiciable standards for the adequacy of public services are hard to find. The third is that judicial involvement is unnecessary because elected officials will have a strong political incentive to provide adequate levels of police protection.” (Sklansky, The Private Police, supra, 46 UCLA L.Rev. at pp. 1282-1283, fns. omitted.) The legislative and executive branches of government, then, are the branches primarily responsible for weighing the need for and effectiveness of particular security measures, the cost of such measures, the availability of funds in light of other calls on the budget as a whole, and the public’s views regarding whether particular measures are acceptable or are considered too intrusive. In the present case, the public entities’ potential liability for the death of plaintiffs’ mother arises under the California Tort Claims Act (hereafter referred to as the Tort Claims Act or the Act) and has two sources: (1) the public entities’ liability based on their own conduct and legal obligations, and (2) the public entities’ liability, based on respondeat superior principles, for the misconduct of their employees that occurred in the scope of their employment. The Tort Claims Act draws a clear distinction between the liability of a public entity based on its own conduct, and the liability arising from the conduct of a public employee. Although the Act provides that a public employee generally is liable for an injury caused by his or her act or omission “to the same extent as a private person” (Gov. Code, § 820, subd. (a)) and that, when the act or omission of the public employee occurs in the scope of employment the public entity will be vicariously liable for the injury (Gov. Code, § 815.2), the Act contains no provision similarly providing that a public entity generally is hable for its own conduct or omission to the same extent as a private person or entity. Rather, the Act provides that a public entity is not liable for an injury “[ejxcept as otherwise provided by statute . . . .” (Gov. Code, § 815.) Certain statutes do provide expressly for public entity liability in circumstances that are somewhat parallel to the potential liability of private individuals and entities but, as past cases have explained, “ ‘[T]he intent of the [Tort Claims Act] is not to expand the rights of plaintiffs in suits against governmental entities, but to confine potential governmental liability to rigidly delineated circumstances . . . .’” (Brown v. Poway Unified School Dist. (1993) 4 Cal.4th 820, 829 [15 Cal.Rptr.2d 679, 843 P.2d 624].) We now examine these two sources of potential liability, addressing first defendants’ potential liability for the death of plaintiffs’ mother based on the alleged conduct of individual employees of defendants county and sheriff’s department. A We agree with the Court of Appeal that plaintiffs did not allege facts giving rise to a cause of action based upon the vicarious liability of the defendants for the asserted negligent acts of their employees. We have observed that in general, under the Tort Claims Act, public employees are liable for injuries caused by their acts and omissions to the same extent as private persons. (Gov. Code, § 820, subd. (a).) Vicarious liability is a primary basis for liability on the part of a public entity, and flows from the responsibility of such an entity for the acts of its employees under the principle of respondeat superior. (See Hoff v. Vacaville Unified School Dist. (1998) 19 Cal.4th 925, 932 [80 Cal.Rptr.2d 811, 968 P.2d 522].) As the Act provides, “[a] public entity is liable for injury proximately caused by an act or omission of an employee of the public entity within the scope of his employment if the act or omission would . . . have given rise to a cause of action against that employee,” unless “the employee is immune from liability.” (Gov. Code, § 815.2, subds. (a), (b).) It is settled that “[u]nder general negligence principles ... a person ordinarily is obligated to exercise due care in his or her own actions so as . . . not to create an unreasonable risk of injury to others .... [Citations.] It is well established . . . that one’s general duty to exercise due care includes the duty not to place another person in a situation in which the other person is exposed to an unreasonable risk of harm through the reasonably foreseeable conduct ... of a third person. [Citations.]” (Lugtu v. California Highway Patrol (2001) 26 Cal.4th 703, 716 [110 Cal.Rptr.2d 528, 28 P.3d 249].) At the same time, however, past cases establish that police officers and other public security officers, like other persons, generally may not be held liable in damages for failing to take affirmative steps to come to the aid of, or prevent an injury to, another person. “As a rule, one has no duty to come to the aid of another. A person who has not created a peril is not liable in tort merely for failure to take affirmative action to assist or protect another unless there is some relationship between them which gives rise to a duty to act.” (Williams v. State of California, supra, 34 Cal.3d at p. 23.) More specifically, “law enforcement officers, like other members of the public, generally do not have a legal duty to come to the aid of [another] person . . . .” (Lugtu v. California Highway Patrol, supra, 26 Cal.4th at p. 717.) Liability may be imposed if an officer voluntarily assumes a duty to provide a particular level of protection, and then fails to do so (see Williams v. State of California, supra, 34 Cal.3d at pp. 23-24 & fn. 3; Baker v. City of Los Angeles (1986) 188 Cal.App.3d 902, 908 [233 Cal.Rptr. 760]), or if an officer undertakes affirmative acts that increase the risk of harm to the plaintiff. (See Benavidez v. San Jose Police Dept., supra, 71 Cal.App.4th at p. 863; Mann v. State of California (1977) 70 Cal.App.3d 773, 780 [139 Cal.Rptr. 82].) As we have declared, “[a]s a general rule, one owes no duty to control the conduct of another, nor to warn those endangered by such conduct.” (Davidson v. City of Westminster (1982) 32 Cal.3d 197, 203 [185 Cal.Rptr. 252, 649 P.2d 894].) A duty to control the conduct of another or to warn persons endangered by such conduct may arise, however, out of what is called a “special relationship,” a concept upon which the Court of Appeal placed considerable reliance in the present case. Such a duty may arise if “ ‘(a) a special relation exists between the actor and the third person which imposes a duty upon the actor to control the third person’s conduct, or (b) a special relation exists between the actor and the other which gives the other a right to protection.’ ” (Ibid.; see also Hernandez v. City of Pomona (1996) 49 Cal.App.4th 1492, 1499 [57 Cal.Rptr.2d 406].) “ ‘This rule derives from the common law’s distinction between misfeasance and nonfeasance, and its reluctance to impose liability for the latter.’ ” (Hoff v. Vacaville Unified School Dist., supra, 19 Cal.4th at p. 933.) In most instances, these general rules bar recovery when plaintiffs, having suffered injury from third parties who were engaged in criminal activities, claim that their injuries could have been prevented by timely assistance from a law enforcement officer. (See Williams v. State of California, supra, 34 Cal.3d at p. 25, and cases cited; Benavidez v. San Jose Police Dept., supra, 71 Cal.App.4th at pp. 859-862 [no liability when the police responded to domestic violence call but failed to protect victim after her subsequent call for assistance]; Hernandez v. City of Pomona, supra, 49 Cal.App.4th at pp. 1503-1505 [person who was aware of danger arising from his testimony at a criminal trial involving a gang was not entitled to damages for the failure of the police to warn the witness or supply special protection].) And the circumstance that an officer may have offered special protection on one occasion does not, by itself, give rise to a continuing special relationship and duty at a later date—or with other officers. (See Baker v. City of Los Angeles, supra, 188 Cal.App.3d at pp. 907-908.) As the Court of Appeal’s disposition of plaintiffs’ seventh cause of action demonstrates, plaintiffs did not allege facts establishing that any peace officer or other nonpolicymaking employee of the county voluntarily undertook special duties to protect Eileen or to control the conduct of Harry on September 1, 1995, or that any officer or employee did anything on that date to induce Eileen in particular to rely upon a promise of special protection. At most, employees of the defendants county and sheriff’s department failed to take affirmative steps to protect Eileen. There is no indication that her peril was created by their actions. As in the Williams case, “[t]he officers did not create the peril in which plaintiff found herself; they took no affirmative action which contributed to, increased, or changed the risk which would have otherwise existed; there is no indication that they voluntarily assumed any responsibility to protect [her] . . . ; and there are no allegations of the requisite factors to a finding of special relationship, namely detrimental reliance by the plaintiff on the officers’ conduct, [or] statements made by them which induced a false sense of security and thereby worsened her position.” (Williams v. State of California, supra, 34 Cal.3d at pp. 27-28, fn. omitted.) Nor does the complaint allege facts demonstrating that any officer engaged in an affirmative act that increased the risk of harm to Eileen. To the extent the complaint relies on the policy decisions of unnamed public officers and employees with regard to the nature and degree of security that should be utilized in the courthouse to protect all of its users—for example, decisions regarding the posting of signs or the installation and operation of metal detectors—such conduct would not give rise to liability on the part of these persons. This result flows from Government Code section 845, which provides immunity for the failure of public entities and their employees to provide police protection, an issue discussed below in part C. The essence of the appellate court’s holding and of plaintiffs’ claims is that the county, rather than any individual employee standing in a special relationship with Eileen, owed a duty to all persons using the courthouse to protect them against reasonably foreseeable criminal activity by other persons using the courthouse—specifically, against the risk of harm presented by deadly weapons. But even in situations in which the voluntary act of a Good Samaritan officer has caused the individual officer to have a special relationship with (and duty of care toward) a particular plaintiff and in which a breach of this duty may impose liability on the employer under the doctrine of respondeat superior, the entire law enforcement agency is not placed in a special relationship with the plaintiff or the public generally. (Baker v. City of Los Angeles, supra, 188 Cal.App.3d at p. 908.) Rather, the county, “as with all public entities,” has the responsibility to “exercise reasonable care to protect all of its citizens” (Thompson v. County of Alameda (1980) 27 Cal.3d 741, 753 [167 Cal.Rptr. 70, 614 P.2d 728, 12 A.L.R.4th 701], italics omitted), but does not thereby become liable to each individual for all foreseeable harm. The complaint does not allege that a public employee engaged in conduct within the scope of employment that would render the employee liable to plaintiffs for their mother’s death, and thus there is no basis for imposing vicarious liability upon the public entities. Accordingly, we conclude that plaintiffs are unable to state a claim against the public entities under the doctrine of respondeat superior. B Next, we consider the potential direct liability of the public entity defendants. As we observed above, a public entity may be liable for an injury directly as a result of its own conduct or omission, rather than through the doctrine of respondeat superior, but only “as . . . provided by statute.” (Gov. Code, § 815, italics added.) Plaintiffs seek to establish that a public entity properly may be held hable for injury inflicted by the criminal conduct of a third person, on the theory that the criminal conduct occurred in a public building owned and maintained by the public entity, and that such an entity, like a private property owner, may bear some legal responsibility for preventing criminal conduct on its premises. In Peterson v. San Francisco Community College Dist. (1984) 36 Cal.3d 799 [205 Cal.Rptr. 842, 685 P.2d 1193], this court, faced with a similar claim and recognizing that Government Code section 835, a part of the Tort Claims Act, “is the principal provision addressing the circumstances under which the government may be held hable for maintaining a dangerous condition of pubhc property” (Peterson, 36 Cal.3d at p. 809), addressed the pubhc entity’s potential habihty by analyzing and applying the provisions of section 835. The Court of Appeal in the present case, however, concluded that in addition to the specific provisions of the Tort Claims Act defining the circumstances under which a pubhc entity may be held hable for a dangerous condition of pubhc property, the habihty of the pubhc entities could be based on the general negligence principles of Civil Code section 1714, which apply to and govern the potential liability of private property owners. To the extent the Court of Appeal determined that the provisions of Civil Code section 1714 properly may be applied to extend the Lability of a pubLc entity in this setting beyond the usual reach of the “dangerous condition” provisions of Government Code section 835, we conclude that the appellate court was in error. Such a determination by the court ignores the general rule that the government does not, by assuming responsibility for providing poLce services, impose upon itself a legal duty that would give rise to civil liabihty. The Court of Appeal’s conclusion fails to recognize that pubhc entities—and their employees—generally are not Lable for failure to protect individuals against crime, and that the liability of public entities as property owners is set out specifically in Government Code section 835, as part of the general scheme of the Tort Claims Act. As we have noted, the Legislature has elected to impose liabihty on public entities principally through their potential vicarious habihty for the negligence of their employees and has otherwise provided for relatively circumscribed Lability. The Court of Appeal’s expansive view of governmental Lability potentially could undermine the balanced scheme set out in the Tort Claims Act. The rule embraced by that court could impose Lability for failure to protect persons from third party crime at any public facihty where passions run high—from a crowded office of the Department of Motor Vehicles to the offices of a child protective services agency. In structuring Government Code section 835 to define the circumstances in which a pubLc entity properly may be held hable for an injury caused by a dangerous condition of pubLc property, the Legislature took into account the special pohcy considerations affecting pubLc entities in their development and control of pubLc property and made a variety of policy judgments as to when a pubLc entity should or should not be Lable in monetary damages for injuries that may occur on pubLc property. These policy judgments would be undermined if an injured person could ignore the hmitations embodied in Government Code section 835 and invoke the very general provisions of section 1714 of the Civil Code to impose Lability on a public entity in circumstances in which such liabihty would not be permitted under section 835. Accordingly, we conclude that in determining the public entities’ direct Lability, we must evaluate plaintiffs’ claim under the provisions of Government Code section 835 alone. Plaintiffs claim, and the Court of Appeal determined, that plaintiffs’ complaint, if amended adequately to address the issue of foreseeability, would state a cause of action under Government Code section 835, which, as we have seen, permits the imposition of liability on a public entity for injury caused by a dangerous condition of its property. That statute provides in pertinent part that “a public entity is liable for injury caused by a dangerous condition of its property if the plaintiff establishes that the property was in a dangerous condition at the time of the injury, that the injury was proximately caused by the dangerous condition, that the dangerous condition created a reasonably foreseeable risk of the kind of injury which was incurred, and either; [¶] (a) A negligent or wrongful act or omission of an employee of the public entity within the scope of his employment created the dangerous condition; or [¶] (b) The public entity had actual or constructive notice of the dangerous condition under Section 832.5 a sufficient time prior to the injury to have taken measures to protect against the dangerous condition.” (Gov. Code, § 835.) Government Code section 830 defines a dangerous condition as “a condition of property that creates a substantial (as distinguished from a minor, trivial or insignificant) risk of injury when such property or adjacent property is used with due care in a manner in which it is reasonably foreseeable that it will be used.” The existence of a dangerous condition ordinarily is a question of fact, but the issue may be resolved as a matter of law if reasonable minds can come to only one conclusion. (Peterson v. San Francisco Community College Dist., supra, 36 Cal.3d at p. 810.) We have recognized that private landowners have a duty to “maintain their premises in a reasonably safe condition, and that in the case of a landlord, the general duty of maintenance includes ‘the duty to take reasonable steps to secure common areas against foreseeable criminal acts of third parties that are likely to occur in the absence of such precautionary measures.’ [Citation.]” (Sharon P. v. Arman, Ltd. (1999) 21 Cal.4th 1181, 1189 [91 Cal.Rptr.2d 35, 989 P.2d 121], italics omitted, disapproved on another ground in Aguilar v. Atlantic Richfield Co. (2001) 25 Cal.4th 826, 853, fn. 19 [107 Cal.Rptr.2d 841, 24 P.3d 493].) In appropriate circumstances, a public entity may owe members of the public a similar duty not to maintain public premises in a dangerous condition and, specifically, not to maintain its premises in a condition that will increase the reasonably foreseeable risk that criminal activity will injure such individuals. (See Gov. Code, § 835; Peterson v. San Francisco Community College Dist., supra, 36 Cal.3d at p. 812.) In a case in which we rejected a claim that a private landowner had a duty, among other things, to provide private security guards under the circumstances there presented, we observed that it is difficult to determine the level of security adequate or effective to prevent crime. Although we did not state that the provision of private security guards necessarily was outside the landowner’s duty of care, especially if prior similar incidents establish a high degree of foreseeability, we observed that “the obligation to provide patrols adequate to deter criminal conduct is not well defined. ‘No one really knows why people commit crime, hence no one really knows what is “adequate” deterrence in any given situation.’ [Citation.]” (Ann M. v. Pacific Plaza Shopping Center (1993) 6 Cal.4th 666, 679 [25 Cal.Rptr.2d 137, 863 P.2d 207].) It appears doubtful under this authority that, had the building in the present case been owned by a private landowner, the owner would be liable for failing to use particular security measures, including metal detectors, to prevent Eileen’s death. In choosing to impose what it acknowledged was broader liability on public entities, the Court of Appeal alluded to Eileen’s fundamental right to seek redress in court, the state’s monopoly over the judicial process and over family law courts in particular, and the circumstance that Eileen (like all family law litigants who are not indigent) paid fees to pursue her litigation. The Court of Appeal also referred to Judicial Council recommendations regarding improvements in courthouse security (see Cal. Stds. Jud. Admin., § 7) as reflecting “a recognition of the need for safe courthouses.” In basing its conclusion in large part on these circumstances, however, the Court of Appeal mistook the government’s undoubted mandate to establish and maintain a safe and effective system for the administration of justice for a legal duty, the breach of which may result in liability for damages. We emphasize that public entity liability in this regard is statutory. As noted, Government Code section 835 imposes a duty on public entities not to maintain property in a “dangerous condition.” Plaintiffs’ decedent was killed by the criminal act of a third party, and we have pointed out that “third party conduct by itself, unrelated to the condition of the property, does not constitute a ‘dangerous condition’ for which a public entity may be held liable.” (Peterson v. San Francisco Community College Dist., supra, 36 Cal.3d at p. 810.) We have indicated, however, that a public entity may be liable if it “maintained the property in such a way so as to increase the risk of criminal activity” or in such a way as to “create[] a reasonably foreseeable risk of . . . criminal conduct.” (Peterson v. San Francisco Community College Dist., supra, 36 Cal.3d at p. 812.) For example, we held in Peterson that the condition of a community college campus may be dangerous if the presence of trees with thick foliage near a parking lot and stairway facilitated criminal activity against students. The risk of crime was reasonably foreseeable in that case because the district was aware of prior assaults, (id. at p. 813.) In other cases, too, courts have concluded that plaintiffs could establish that a public entity maintained property in a dangerous condition within the meaning of Government Code section 835 although the injury to the plaintiff was caused by the criminal activity of third persons. Such a dangerous condition may exist, for example, when an entity with notice of criminal activity provides inadequate lighting in an airport parking lot, thereby foreseeably increasing the risk that members of the public will be attacked. (Slapin v. Los Angeles International Airport (1976) 65 Cal.App.3d 484, 488 [135 Cal.Rptr. 296]; see also Zuniga v. Housing Authority (1995) 41 Cal.App.4th 82 [48 Cal.Rptr.2d 353].) We emphasize, however, that liability is imposed only when there is some defect in the property itself and a causal connection is established between the defect and the injury. In many cases, courts have rejected the claim that an injury caused by the criminal activity of a third person was attributable to a dangerous condition of the property within the meaning of Government Code section 835, because the claims lacked an adequate showing that the property itself was in a defective condition. In Hayes v. State of California (1974) 11 Cal.3d 469 [113 Cal.Rptr. 599, 521 P.2d 855], for example, this court in interpreting section 835 acknowledged that “[liability for injury caused by a dangerous condition of property has been imposed when an unreasonable risk of harm is created by a combination of defect in the property and acts of third parties.” (Hayes, at p. 472, italics omitted.) We warned, however, that “courts have consistently refused to characterize harmful third party conduct as a dangerous condition—absent some concurrent contributing defect in the property itself.” {Ibid.) We concluded that criminal activity at night on a public beach was not a dangerous condition requiring the public agency to issue a warning. Explaining that the complaint did not allege a defect in the property itself, we stated that even if a physical defect were not absolutely required to establish a dangerous condition, there would be no duty to warn in the circumstances then before us—in part because the risk of criminal activity on a dark and deserted stretch of beach was obvious, and in part because such a warning, if effective in discouraging visitors, would have the effect of closing the public amenity. “But,” we said, “determining and regulating the use of public property are better left to legislative and administrative bodies, rather than to the judiciary.” (Id. at p. 473, fn. omitted.) Similarly, in Rodriguez v. Inglewood Unified School Dist. (1986) 186 Cal.App.3d 707 [230 Cal.Rptr. 823], the court determined that although a school district owed a duty to protect students from injuries inflicted by nonstudents on school grounds, the district’s failure to provide security measures that would prevent persons from bringing weapons onto school grounds did not constitute a dangerous condition within the meaning of Government Code section 835, because the district’s failure did not relate to the physical condition of the property or to the misuse of the property. No simple physical barrier, the court suggested, could prevent students and others from bringing weapons onto the campus. (Rodriguez, at pp. 719-720.) Another decision held that the state’s failure to prevent criminal activity and gang-related violence in the parking lot of the California State Fair grounds did not constitute a dangerous condition of property within the meaning of section 835. (Turner v. State of California (1991) 232 Cal.App.3d 883, 892 [284 Cal.Rptr. 349]; see also Crow v. State of California (1990) 222 Cal.App.3d 192, 204-205 [271 Cal.Rptr. 349] [failure to supervise and control a violent student at a college campus did not constitute a dangerous condition of property under § 835].) And in Moncur v. City of Los Angeles (1977) 68 Cal.App.3d 118 [137 Cal.Rptr. 239], involving a bomb explosion in a locker located in an area of the airport terminal open to the public, the court rejected the claim that the airport created a dangerous condition of property by locating lockers in an area of the airport where members of the public were not required to be screened by a “search and surveillance system.” (Id. at p. 122.) The location of the locker outside the security perimeter did not “constitute!] a dangerous condition [simply] because the City did not search persons who used them.” (Id. at p. 124.) Other courts have pointed out that the defect in the physical condition of the property must have some causal relationship to the third party conduct that actually injures the plaintiff. In Constance B. v. State of California (1986) 178 Cal.App.3d 200 [223 Cal.Rptr. 645], for example, the court determined that although the state may have some duty to enhance the personal safety of motorists using state highway rest stops, the state’s conduct in placing lights and trees so as to cast a shadow over the entrance to the women’s restroom was not a substantial cause of the plaintiff’s injuries at the hands of a third party assailant—the plaintiff’s assailant did not take advantage of the shadows but stood in the light. (Id. at pp. 210-212; see also Moncur v. City of Los Angeles, supra, 68 Cal.App.3d at p. 126 [observing that the complaint did not allege facts from which it could be inferred that the physical condition of the airport terminal was the cause of the bombing].) To summarize: “If the risk of injury from third parties is in no way increased or intensified by any condition of the public property . . . courts ordinarily decline to ascribe the resulting injury to a dangerous condition of the property. In other words, there is no liability for injuries caused solely by acts of third parties. [Citations.] Such liability can arise only when third party conduct is coupled with a defective condition of property.” (2 Cal. Government Tort Liability Practice (Cont.Ed.Bar 4th ed., May 2001 update) Dangerous Condition of Public Property, § 12.19, p. 732.) In the present case, the risk of injury was not increased or intensified by the condition of the property, and the necessary causal connection between the condition of the property and Harry’s crime was not present. Indeed, the risk of injury to Eileen at the hands of her ex-husband was at least as great outside the courthouse. For example, he could just as readily have shot Eileen as she picked up one of her children from a public or private school. Further, in the context of applying Government Code section 835, we do not believe that screening members of the public for weapons is comparable to trimming trees or providing brighter lighting, because the screening is a police function that has little or nothing to do with the physical condition of the property. Plaintiffs assert that other protective measures (like erecting barriers or closing most of the entrances to the courthouse) should have been undertaken, but these measures would not have any effect on the risk of crimes such as those that occurred in the present case unless the county also installed metal detectors and had officers standing by to respond or used law enforcement personnel to search persons entering the courthouse. (See Rodriguez v. Inglewood Unified School Dist., supra, 186 Cal.App.3d at pp. 719-720.) Plaintiffs’ reference to the long corridors, hidden escalators, and maze-like design of the building are equally unavailing. Plaintiffs did not allege facts indicating that such conditions had any causal relationship with the shooting. We conclude that the allegations of the complaint, even if proved, fail to demonstrate that the injury was “caused by a dangerous condition of [the] property,” as required by Government Code section 835. In reaching a contrary conclusion, the Court of Appeal relied upon Zuniga v. Housing Authority, supra, 41 Cal.App.4th 82. In that case, tenants in a public housing facility were killed in an arson fire set by drug dealers who congregated outside the victims’ unit and targeted the tenants for reprisals after the tenants complained to the housing authority of the drug dealers’ activities. The housing authority clearly was on notice of the danger posed by the perpetrators. The victims “were subjected to constant threats of violence, vandalism to their unit and physical assaults and confrontations by the various drug dealers. Family members were constantly warned by the offenders not to call the police, but nevertheless, they reported [the incidents to them] .... No action was taken to alleviate the situation, and their repeated requests for a transfer to another unit were denied.” (Id. at p. 90.) The tenants’ complaints against the drug dealers were met with increasing harassment, and ultimately “arsonists poured gasoline through the unit’s mail slot and set fire to the unit.” (Ibid.) Five persons died. The Court of Appeal determined that the plaintiffs adequately pleaded a dangerous condition by alleging that “inadequate security measures [were] taken by respondents in face of the existence of a centralized location where drug dealers with violent tendencies congregated. . . . [T]he [public entities] failed to warn the residents, failed to transfer residents, failed to expel criminal tenants, failed to place security barriers, and failed to otherwise take appropriate security measures. . . . According to the complaint, appellants were at risk simply by virtue of their being assigned to the unit and became targets of increased hostility merely because they reported their difficulties to the Authority.” (Zuniga v. Housing Authority, supra, 41 Cal.App.4th at pp. 93-94.) The Court of Appeal distinguished earlier Court of Appeal cases, asserting that in those cases the criminal activity was not foreseeable and could not have been prevented without “drastic precautions.” (Id. at p. 94.) The Court of Appeal also stressed that the housing authority stood in a “special relationship” with its tenants in that it voluntarily assumed a duty of care toward them, and the tenants depended upon the housing authority for a transfer to another unit and “to take responsibility for the hazards that existed within the project.” (Zuniga v. Housing Authority, supra, 41 Cal.App.4th at p. 95.) Liability under Government Code section 835 for maintaining public property in a dangerous condition depends, however, upon the existence of some defect in the property itself and the existence of a causal connection between that defect and the plaintiff’s injury. The opinion of the Court of Appeal in Zuniga does not describe the physical condition of the property or the purported causal connection between that defect and the harm suffered by the plaintiffs. It is unclear, at best, how “security barriers” could have prevented the perpetrators from burning the unit in front of which they congregated, especially because it appears that the perpetrators also were tenants of the housing authority. (Zuniga v. Housing Authority, supra, 41 Cal.App.4th at p. 93.) The failure of the court in Zuniga to relate the physical condition of the property to the conduct of the arsonists renders questionable its conclusion that liability may be found under Government Code section 835—although we have no occasion in the present case to consider whether there may be some other statutory basis for finding that the landlord-tenant relationship could support the imposition of a legal duty on the housing authority in such circumstances. But failure to transfer tenants for their protection and failure to evict tenants involved in criminal activities are matters far removed from any physical condition of the property. In any event, in the present case plaintiffs are unable to point to any defective aspect of the purely physical condition of the property. Plaintiffs contend that it is not necessary that they allege a physical defect in the property, citing Ducey v. Argo Sales Co. (1979) 25 Cal.3d 707 [159 Cal.Rptr. 835, 602 P.2d 755]. Failure to install protective equipment, they claim, can itself constitute a dangerous condition of property. In the Ducey case, the plaintiffs contended that the state maintained a roadway in a dangerous condition because the state failed to provide a median barrier to protect motorists against oncoming drivers who crossed the median strip. Although this court acknowledged that the state generally has a duty to maintain its property in a physical condition that protects users against the risk of harm presented by third parties, the state’s duty in the Ducey case was to alter the physical condition of the property to provide a safeguard against the danger presented by third parties. The court did not hold that a dangerous condition of property could exist without reference to any physical quality of the property, but only that the state may be required to alter its property to provide a physical barrier against danger presented by third parties. Plaintiff