eign commerce is concerned, it is undoubtedly operating in an area largely controlled by agreements and treaties negotiated by the central government.
Id. at 529 (emphasis added). By quoting part of the above statement out of context, appellee contends that construction of highways by the state is a proprietary function. We disagree. Texas Highway Comm’n involved a challenge to a Texas Highway Commission Minute Order that limited the field of bidders on construction contracts to materials suppliers offering domestically manufactured materials. Id. at 526. The court held this order invalid as violative of the competitive bidding statute. Id. at 530. In reaching this decision, the court noted that this was not a suit against the state, Id. at 531, apparently affirming the court of appeals holding that sovereign immunity is inapplicable where the Highway Commission acts beyond its statutory authority. See Texas Ass’n of Steel Importers, Inc. v. Texas Highway Comm’n, 364 S.W.2d 749, 752 (Tex.Civ.App. — Austin), aff'd, 372 S.W.2d 525 (Tex.1963). The court’s classification of highway construction as a proprietary function is limited to the Highway Commission’s involvement with foreign commerce. Texas Highway Comm’n, 372 S.W.2d at 529.
The general rule is that, as an agency of the state, the Highway Department performs a governmental function in the construction and maintenance of state highways. Powell v. State, 118 S.W.2d 960, 962 (Tex.Civ.App. — Austin 1938, writ ref’d); Gotcher v. State, 106 S.W.2d 1104, 1104 (Tex.Civ.App. — Austin 1937, no writ); Martin v. State, 88 S.W.2d 131, 132 (Tex.Civ.App. — El Paso 1935, writ ref’d). Furthermore, a suit against a state agency performing governmental functions is a suit against the state. Hill v. Texas Water Quality Board, 568 S.W.2d 738, 739 (Tex.Civ.App. — Austin 1978, writ ref’d n.r.e.). If the Highway Department properly performed their duties within its statutory authority, it may rely upon the doctrine of sovereign immunity since ATSF failed to obtain state consent or legislative permission to sue. See Allen v. State, 410 S.W.2d 52, 54 (Tex.Civ.App. — Houston 1966, no writ). If the Highway Department acted illegally, wrongfully, or beyond its statutory authority, sovereign immunity is unavailable and the suit is not one against the state. Id.
As summary judgment movant, the Highway Department established its entitlement to sovereign immunity by showing it was an agency of the state exercising governmental functions. This showing was sufficient to negate ATSF’s claim that appellee was performing proprietary functions. ATSF did not claim that appellee acted illegally or beyond its statutory authority, and as movant, appellee was not required to negate a claim that ATSF did not raise. See City of Houston v. Clear Creek Basin Authority, 589 S.W.2d 671, 678-79 (Tex.1979). We find that appellee met its summary judgment burden of proof and we overrule points of error one and two.
We affirm the judgment of the trial court.