II.
This court reviews a district court’s order granting a motion to dismiss de novo. Springdale Educ. Ass’n v. Springdale Sch. Dist, 133 F.3d 649, 651 (8th Cir.1998); Hafley v. Lohman, 90 F.3d 264, 266 (8th Cir.1996). When ruling on a motion to dismiss, the district court must accept the allegations contained in the complaint as true and all reasonable inferences from the complaint must be drawn in favor of the nonmoving party. Hafley, 90 F.3d at 266. A complaint shall not be dismissed for its failure to state a claim upon which relief can be granted unless it appears beyond a reasonable doubt that plaintiff can prove no set of facts in support of a claim entitling him to relief. Breedlove v. Earthgrains Baking, 140 F.3d 797, 799 (8th Cir.1998).
Nevertheless, dismissal under Rule 12(b)(6) serves to eliminate actions which are fatally flawed in their legal premises and deigned to fail, thereby sparing litigants the burden of unnecessary pretrial and trial activity. Neitzke v. Williams, 490 U.S. 319, 326-27, 109 S.Ct. 1827, 104 L.Ed.2d 338 (1989). To avoid dismissal, a complaint must allege facts sufficient to state a claim as a matter of law and not merely legal conclusions. Springdale Educ. Ass’n, 133 F.3d at 651. After a de novo review, we conclude that the district court applied the proper standard in making its decision to grant defendants’ motion to dismiss.
III.
Officer Young seeks relief under 42 U.S.C. § 1983 for due process violations. The district court determined that the allegations as pleaded in the complaint indicated that Young had received all the process he was due and that none of his allegations led to the conclusion that his termination was “irrational.”
The due process clause of the Fourteenth Amendment prohibits state governments from depriving “any person of life, liberty or property, without due process of law ...” U.S. Const, amend. XIV, § 1. This clause has two components, procedural due process, and substantive due process.
Id. Analysis of either must begin with an examination of the interest allegedly violated.
Dover Elevator Co. v. Arkansas State Univ., 64 F.3d 442, 445-46 (8th Cir.1995). Here, the parties have conceded that Young had a protected property interest.
A. Procedural Due Process
A state employee is entitled to a hearing or some related form of due process before being deprived of a constitutionally protected property interest.
See Cleveland Bd. of Educ. v. Loudermill, 470 U.S. 532, 542, 105 S.Ct. 1487, 84 L.Ed.2d 494 (1985);
Johnson v. Rogers, 621 F.2d 300, 305 (8th Cir.1980) (noting that due process procedures are required to protect terminated public employees). A public employee with a protected property interest in continued employment receives sufficient due process if he receives notice, an opportunity to respond to the charges before his termination, and post-termination administrative review.
See Craning v. Sherburne County, 172 F.3d 611, 616 (8th Cir.1999);
Flath v. Garrison Pub. Sch. Dist., 82 F.3d 244, 247 (8th Cir.1996). The pre-termination process need not be elaborate, especially if there are meaningful post-deprivation procedures.
Graning, 172 F.3d at 616 (citing
Loudermill, 470 U.S. at 542-547, 105 S.Ct. 1487). A public employee is also entitled to notice and a “name clearing” hearing when fired under circumstances imposing a stigma on his professional reputation.
See Johnson, 621 F.2d at 305.
The facts as alleged in plaintiffs complaint adequately supports the district court’s conclusion that Young received all the process that he was due since he was given notice of the reason for his dismissal, an opportunity to respond to the charges, and after his termination, he availed himself of departmental grievance procedures. He received two post-termination appeals: first, to the city administrator and second, to the city personnel board. Young also received a post-termination hearing with