No person holding a public position by appointment or employment, and belonging to any of the classes of persons to whom a preference is granted under this chapter , shall be removed from such position or employment except for incompetency or misconduct shown after a hearing, upon due notice, upon stated charges, and with the right of such employee or appointee to a review by a writ of certiorari or at such person’s election, to judicial review in accordance with the terms of the Iowa administrative procedure Act, chapter 17A , if that is otherwise applicable to their case. Upon removal from such position or employment, the person shall be provided written notification of the right of such employee or appointee to a review by a writ of certiorari or judicial review. A review by a writ of certiorari shall be filed within three hundred days of the removal of the employee or appointee. [S13, §1056-a16; C24, 27, 31, 35, 39, § 1163; C46, 50, 54, 58, 62, 66, 71, 73, 75, 77, 79, 81, §70.6 ] C93, §35C.6 2003 Acts, ch 44, §114 ; 2017 Acts, ch 29, §27 ; 2020 Acts, ch 1050, §3