delivered the opinion of the court:
A judgmеnt dissolving the marriage of Donald and Ricki Kozloff was entered in the circuit court of Cook County on July 8, 1980. This appeal concerns that court’s subsequent denial of Donald’s petition for a modification of the maintenance provisions of the decree and his motion for a change of venue on that petition. The appellate court held, in a Rule 23 order (87 Ill. 2d R. 23), that the denial of the motion for change of venue was improper, and remanded the cause for a hearing on the petition for modification before a different judge (
The dissolution decree incorporated a separate property settlement agrеement between the parties whereby Donald promised to pay Ricki $186,000 in unallocated maintenance and child support at the rate of $3,100 per month for 60 consecutive months. The incorporated agrеement further provided that the payments would be “non-modifiable and defeasible only upon [the] death of [the] wife.” Shortly after the judgment of dissolution was entered, the parties began filing a series of post-decree petitions and motions, most of which concerned Donald’s visitation privileges. Almost all of these were heard or ruled upon by Judge Marion E. Burks.
On December 12, 1981, Ricki remarried and on January 4, 1982, Donald filed a petition to modify the decree, contending that Ricki’s remarriage terminated his obligation to pay maintenance. When Donald failed to make the January payment, Judge Burks entered an order on January 20, pursuant to Ricki’s motion, setting a date for Donald to appear and show cause why he should not be held in contempt. Donald then moved for a change of venue on January 22, alleging the prejudice of Judge Burks. The motion was denied on January 26, and Donald was ordered to make the January payment or be held in contempt.
On February 18, apparently in an attempt to avoid Judge Burks, Donald voluntarily dismissed his petition for modification, and, on March 1, filed a virtually idеntical petition which was docketed before another judge. After the second petition was reassigned to Judge Burks on Ricki’s motion, and Donald’s motion for transfer to a different judge was denied, he again moved for а change of venue. Judge Burks denied the motion and, on March 31, denied his petition for modification, and Donald appealed. Only the denial of the second petition for modification and second motion for сhange of venue are before us.
Relying on its prior decisions (see Rosenblum v. Murphy (1976),
The right to a change of venue is absolute where a motion alleging prejudice of the judge is filed before trial or hearing and before the judge рresiding in the case has made any substantial ruling. (Ill. Rev. Stat. 1981, ch. 110, pars. 501, 503, now Ill. Rev. Stat. 1981, ch. 110, pars. 2 — 1001(a)(2), (c)); County of Du Page v. E & E Hauling, Inc. (1977),
We cannot accept the appellate court position, because in our judgment it would lead to a serious abuse of the venue act. This court has long condemned a litigant’s attempt to seek a change of venue after he has formed an opinion, based upon the court’s аdverse rulings, that the judge may be unfavorably disposed towards his cause. (People v. Taylor, Robert (1984),
It follows that a judge’s substantive ruling during the dissolution proceeding will preclude a change of venue as of right on a post-decree petition before that same judge. As sometimes occurs, however, the judge assigned to hear a рost-decree petition or motion may not be the same judge who presided at the dissolution proceeding, or different judges may hear different post-decree matters at different times. Section 2 — 1001(c) of the Cоde of Civil Procedure provides that a motion for change of venue will be allowed unless “the judge to whom it is presented has ruled on any substantial issue in the case.” (Emphasis added.) (Ill. Rev. Stat. 1981, ch. 110, par. 2— 1001(c).) Thus, the assignment of а different judge at any point in the proceedings entitles the parties to a change of venue as of right if that judge has not made a substantial ruling in the case. In this case, while Judge Burks did not preside at the dissolution procеeding, he had made numerous rulings on other petitions and motions before Donald moved for a change of venue. Since these post-decree matters are to be regarded as part of the same prоceeding, Donald did not have an absolute right to a change of venue and his motion was properly denied.
We consider next the propriety of Judge Burks’ denial of Donald’s petition for modification. Although the settlеment agreement stated that it would be nonmodifiable, Donald contends that the clause is unenforceable as a violation of public policy. Section 510(b) of the lilinois Marriage and Dissolution of Marriage Act, in еffect at the time the parties entered into the agreement, provided that “[t]he obligation to pay future maintenance is terminated upon *** the remarriage of the party receiving maintenance ***.” (Ill. Rev. Stat. 1979, ch. 40, par. 510(b).) In 1981 the General Assembly added to the provision the phrase: “[ujnless otherwise agreed.” (Ill. Rev. Stat. 1981, ch. 40, par. 510(b).) Donald argues that the absence of this language from the former provision indicates that, prior tо 1981, the legislature must have intended the termination of maintenance payments upon the recipient’s remarriage regardless of an agreement to the contrary. He cites several appellate сourt cases which support that conclusion. In re Marriage of Lowe (1981),
We believe a more convincing interpretation of section 510(b) was offered in In re Marriage of Mass (1981),
For the foregoing reasons, the judgment of the appellate court is reversed, and the judgment of the circuit court is affirmed.
Appellate court reversed; circuit court affirmed.
JUSTICE SIMON took no part in the consideration or decision of this case.
