Plaintiffs and appellants, being the surviving children and heirs at law of William Howard McKay, Sr., and his wife, bring action for damages for their death. The action is against county of Riverside, the Palo Verde Irrigation District and individual defendants. After answer, the irrigation district filed a motion to dismiss the action as to it upon the sole ground that the complaint failed to state a cause of action. The motion was granted and a judgment dismissing the action as to the Palo Verde Irrigation District was entered, from which judgment the plaintiffs appeal.
Plaintiffs contend first that the court erred in sustaining the motion to dismiss for the reason that such motion was not a proper remedy and, secondly, further claim if the complaint did not state a cause of action against the irrigation district that a cause of action could have been so stated.
Appellants rely largely upon the expression of the court in
Pianka
v.
State,
A different situation is presented by the case at bar. Here the sole question was whether or not a cause of action was stated against the irrigation district. It was the position of the defendant district that as a governmental agency it was not subject to liability for damages for injuries occasioned by carrying on the activities for which it was organized. The question of whether a cause of action could be maintained at all was one which could have been raised by demurrer.
In
Lavine
v.
Jessup,
As heretofore stated, the only question involved was whether the action could be maintained against the irrigation district. It was alleged in the complaint that a highway maintained by the defendant county ended at a canal maintained by the irrigation district, and that by reason of the failure to properly protect the canal by signals or guard rails or other warning devices the deceased and his wife drove their automobile into the canal and met death.
The trial court expressly based its decision upon
Vater
v.
County of Glenn,
It must be taken as established by the decisions of this state, therefore, that the activities of an irrigation district in connection with maintaining canals for the distribution of irrigation water are considered as acts in its governmental capacity, and therefore immune from actions for damages for negligence in connection therewith.
The appellants contend that, because an irrigation district may be held liable in its proprietary capacity, the motion should not have been granted and the case dismissed, contending that had the point been raised upon demurrer some allegation might have been made in an amended complaint which would have avoided the immunity of the governmental agency. This contention is not well taken.
The allegations of both the complaint and the amended complaint are such that it is obvious that no amendment could have been made which could have avoided the rule of the Vater case. The plaintiffs alleged that the highway maintained by the county came to an end at the canal of the irrigation district. It was specifically alleged that the negligence of the defendants consisted in the failure to provide and maintain adequate warnings, signals or safety devices to warn an operator of automobiles on the highway that the highway did not continue on, and the failure to erect and maintain signs, guard rails or barriers to prevent traffic upon the highway
*251
from running into the canal. By the express allegations of the complaint the claim of negligence as against the irrigation district was that it was negligent in maintaining its canal because it failed to protect the same with barriers or warnings to prevent traffic on the highway from running into it. In view of the express allegations of the complaint, it becomes obvious that no amendment could have been made that would have indicated that the damage arose from any act of the district in a proprietary capacity. (See
Zeppi
v.
State,
Judgment is affirmed.
Griffin, P. J., and Shepard, J., concurred.
Notes
Assigned by Chairman of Judicial Council.
