
72 S.E.2d 609 (1952)
236 N.C. 271
TOWN OF WILLIAMSTON
v.
ATLANTIC COAST LINE R. CO. et al.
No. 98.
Supreme Court of North Carolina.
October 8, 1952.
*610 Chas. H. Manning, Williamston, for Town of Williamston, plaintiff.
M. V. Barnhill, Jr., Wilmington, Peel & Peel, Williamston, Rodman & Rodman, Washington, for Atlantic Coast Line R. Co., defendant.
R. Brookes Peters, Raleigh, for individual defendants.
DEVIN, Chief Justice.
The plaintiff Town of Williamston assigns error in the ruling below sustaining the demurrer of the defendant Railroad Company, and takes the position that in the exercise of its police power in the interest of public safety it has the right to require the Railroad Company to improve and remodel the underpass where the tracks cross over a street carrying a large volume of traffic. Plaintiff relies upon Atlantic Coast Line R. R. v. City of Goldsboro, 155 N.C. 356, 71 S.E. 514; Durham v. Southern R. Co., 185 N.C. 240, 117 S.E. 17, 35 A.L.R. 1313; Powell v. Seaboard Air Line R. Co., 178 N.C. 243, 100 S.E. 424.
In the recent case of Austin v. Shaw, 235 N.C. 722, 71 S.E.2d 25, 28, referring to those cases, this Court said: "The broad principle stated in these decisions is in accord with the consensus of judicial opinion in other jurisdictions, but in its application to particular cases consideration must be given to the limitation on the exercise of municipal power in this respect that it must not be arbitrary or unreasonable in the light of all the facts."
*611 However, the principle stated in those cases does not apply where it is sought to compel a railroad company to repair, widen or remodel a state highway at a railroad crossing, since the exclusive control over these crossings, in so far as the railroad is concerned, is vested in the State Highway Commission. Where such crossings affect a state highway the railroad company must yield obedience to the authority of the Highway Commission. G.S. § 136-20 (f); Mosteller v. Southern R. Co., 220 N. C. 275, 17 S.E.2d 133; Rockingham County v. Norfolk & W. R. Co., 197 N.C. 116, 147 S.E. 832.
Whether the town has the power to require the railroad company to provide safe means of crossing for pedestrians otherwise than in connection with the widening of a state highway at a railroad crossing is not presented by this appeal. On the pleadings here we think the demurrer of defendant Railroad Company was properly sustained.
Appeal of the Individual Defendants.
The complaint to which the appealing individual defendants demurred alleges in substance that these defendants are members of and compose the North Carolina State Highway and Public Works Commission; that the highway underpass at Williamston constructed by or under the authority of the Highway Commission is inadequate and unsafe for the citizens of the town and the public; that the Highway Commission when requested to repair and remodel the underpass failed to act and this suit was instituted to obtain a mandatory injunction to compel the individual members of the Commission to take immediate steps to repair and remodel the highway at the underpass to the end that it be made safe for the travelling public.
From the language of the complaint it is difficult to distinguish between action which the plaintiff demanded of the State Highway Commission, and that now sought to be compelled on the part of each of the individual persons who compose the Commission.
The State Highway Commission is an agency of the State created by the General Assembly to perform functions of the State in the building, maintenance and control of the public roads and highways of the State. Its official acts are public acts, and are determined by the votes of the members composing it. The plaintiff alleges the Commission has failed on plaintiff's request to remodel a state highway underpass, and thereupon sues for a mandatory injunction to compel each individual member of the Commission to take steps to bring about the desired official action of the Commission. This would seem to mean in effect to require the individuals sued to vote for the things plaintiff alleges should be done at the Williamston underpass. But no individual member has the power to do the things asked to be done. Only the State Highway Commission as a Commission can act. The widening of the state highways and remodeling railroad crossings are matters committed by statute to the State Highway Commission as an agency of the State. The contribution of the individual members to the consummate action of the Commission involves discretion and judgment on the part of each. There is no allegation that these individuals are acting in disregard of law or are invading the personal or property rights of citizens. Nor does it appear that they are under a clear legal duty to perform a ministerial act. Wilkinson v. Board of Education, 199 N.C. 669, 155 S.E. 562. Moreover the facts set out in the complaint do not show such an abuse of discretion as would warrant the interposition of a Court of Equity to restrain or compel. The court cannot compel a member of the Highway Commission to vote for a particular project though it be alleged that it is in the interest of public safety.
Courts will not undertake to control the exercise of discretion and judgment on the part of the members of a commission in performing the functions of a state agency. It was held in Mullen v. Town of Louisburg, 225 N.C. 53, 33 S.E.2d 484, that courts have no power to control the actions of officers of a corporate body in the absence of fraud or palpable abuse of discretion.
*612 The State Highway Commission is an agency of the State, and as such is not subject to suit save in the manner expressly provided by statute. Schloss v. State Highway & Public Works Commission, 230 N.C. 489, 53 S.E.2d 517. This immunity, however, "does not extend to the individuals (composing the Commission) who in disregard of law invade or threaten to invade the personal or property rights of a citizen even though they assume to act under the authority of the State." Teer v. Jordan, 232 N.C. 48, 59 S.E.2d 359, 362.
In the Teer case, supra, it may be noted, the suit was by a taxpayer to enjoin allegedly unlawful use of public funds.
In Schloss v. State Highway & Public Works Commission, supra [230 N.C. 489, 53 S.E.2d 519], it was said: "When public officers whose duty it is to supervise and direct a State agency attempt to enforce an invalid ordinance or regulation, or invade or threaten to invade the personal or property rights of a citizen in disregard of law, they are not relieved from responsibility by the immunity of the State from suit, even though they act or assume to act under the authority and pursuant to the directions of the State."
These decisions seem to delimit the instances in which members of a commission created as a state agency to perform certain functions of the State may be sued individually as distinguished from the Commission itself. There are no allegations in the complaint in the case at bar which bring the suit against the individual defendants in this case within the scope of these authorities.
The ultimate purpose of plaintiff's suit is to obtain a mandatory injunction to require the individual defendants to do the things the town thinks ought to be done in the interest of public safety, but while the authorities of the town are moved by the desire to obtain action by the defendants in the public interest, we are constrained to hold this laudable purpose cannot be accomplished in this suit against these individual defendants. To do so would violate established rules of law which are necessary in the administration of justice for all.
We do not think the allegations here are sufficient to form the basis for a mandatory injunction.
"A mandatory injunction, when issued to compel a board or public official to perform a duty imposed by law, is identical in its function and purpose with that of a writ of mandamus." Board of Managers of James Walker Memorial Hospital v. City of Wilmington, 235 N.C. 597, 70 S.E.2d 833, 836. Mandamus lies only to enforce a clear legal right. Its function is "to compel the performance of a ministerial dutynot to establish a legal right, but to enforce one which has been established." The board or person against whom it is issued must be under a present clear legal duty to perform the act sought to be enforced. Hamlet Hospital & Training School for Nurses v. Joint Committee, 234 N.C. 673, 68 S.E.2d 862; Mears v. Board of Education, 214 N.C. 89, 197 S.E. 752; Wilkinson v. Board of Education, 199 N.C. 669, 155 S.E. 562.
For the reasons stated, we think the court below was in error, and that the demurrer of the individual defendants should have been sustained.
On plaintiff's appeal: Affirmed.
On individual defendants' appeal: Reversed.
