> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# 735 ILCS 5/2-617

- **Citation**: 735 ILCS 5/2-617
- **Node Type**: section
- **Jurisdiction**: Illinois (state)
- **Code Body**: Illinois Compiled Statutes (Aug. 2026 snapshot) (ILCS)
- **Official Source**: [https://www.ilga.gov/legislation/ilcs/ilcs.asp](https://www.ilga.gov/legislation/ilcs/ilcs.asp)
- **Canonical URL**: [https://corpuslaw.us/codes/illinois/chapter-735/part-5/section-2-617](https://corpuslaw.us/codes/illinois/chapter-735/part-5/section-2-617)
- **Semantic URL**: [https://corpuslaw.us/codes/illinois/chapter-735/part-5/section-2-617](https://corpuslaw.us/codes/illinois/chapter-735/part-5/section-2-617)

## Hierarchy

Chapter 735 > Part 5

## Text

(735 ILCS 5/2-617) (from Ch. 110, par. 2-617) Sec. 2-617. Seeking wrong remedy not fatal. Where relief is sought and the court determines, on motion directed to the pleadings, or on motion for summary judgment or upon trial, that the plaintiff has pleaded or established facts which entitled the plaintiff to relief but that the plaintiff has sought the wrong remedy, the court shall permit the pleadings to be amended, on just and reasonable terms, and the court shall grant the relief to which the plaintiff is entitled on the amended pleadings or upon the evidence. In considering whether a proposed amendment is just and reasonable, the court shall consider the right of the defendant to assert additional defenses, to demand a trial by jury, to plead a counterclaim or third party complaint, and to order the plaintiff to take additional steps which were not required under the pleadings as previously filed. (Source: P.A. 82-280.)
