OPINION
11 Plaintiffs Susan I. Moss and Jamal S. Yanaki (collectively, Plaintiffs) appeal the district court's ruling granting Defendants Parr Waddoups Brown Gee & Loveless (Parr); Clark Waddoups; Jonathan O. Haf *900 en; and Justin P. Matkin's motion for judgment on the pleadings as to counts two through seven of the first amended complaint and judgment. We affirm.
BACKGROUND
12 On April 9, 2002, Iomеd, Inc. filed a complaint against its former employee, Ya-naki, alleging that Yanaki had misappropriated proprietary information (Iomed case). lomed was represented by Parr, which obtained two ex parte discovery orders that directed the Salt Lake County Sheriffs Office, with the assistance of Iomed, to take custody of certain electronically stored data and other records maintained at Plaintiffs' home office. The discovery orders authorized ITomed to copy the files and return the copies to Yanaki and to file the originals with the district court under seal. The discovery orders also allowed Yanaki's counsel to review the electronic files and make objections before they would be made available to Tomed's counsel.
T3 On April 15, 2002, Matkin, an attorney with Parr, and a Salt Lake County deputy sheriff went to Plaintiffs' home. Moss answered the door. The deputy handed Moss a summons, a complaint, and a copy of the discovery order authorizing the seizure of documents rеlating to Iomed's claim of misappropriation against Yanaki. Yanaki was out of town at the time, and Moss declined to allow Matkin and the deputy into the home. Matkin told Moss he intended to obtain a further court order and left. The deputy remained at Plaintiffs' home while Matkin obtained a second order which authorized use of reasonable force to enter the house and seize the relevant records. Matkin then returned with a supplemental order and Moss allowed Matkin, the deputy, and others into thе home to execute the discovery order. Subsequently, Yanaki's computer hard drive and additional documents were deposited with the district court. 1
T4 In 2008, while the Iomed case was pending, Plaintiffs filed a lawsuit against Parr and others in the United States District Court for the Distriсt of Utah alleging civil rights violations arising from the seizure of evidence pursuant to the district court's discovery orders. In 2004, the federal court dismissed the case ruling that it did not find a section 1988 violation, see 42 U.S.C. § 1983 (2000), because the actions of the private defendants did not amount to state action as is required to sustain a federal civil rights claim.
T5 In December 2005, Plaintiffs filed an amended complaint in the present suit against Defendants, alleging claims for (1) breach of settlement agreement, (2) abuse of process, (8) invasion оf privacy, (4) intentional infliction of emotional distress, (5) trespass to land and chattels, (6) conversion, and (7) civil conspiracy. After filing an answer, Defendants filed a motion for judgment on the pleadings as to counts two through seven pursuant to Utah Rules of Civil Procеdure 12(c). The district court heard argument on Defendants' motion. The district court granted Defendants' motion to dismiss counts two through seven of the amended complaint ruling that Defendants were operating within the framework of the doctrine of judicial privilege and that Plaintiffs were collaterally estopped from pursuing their claims. Defendants then filed a motion for summary judgment as to count one, which the district court denied. Following an interlocutory appeal, this court reversed the denial of that partial summary judgment and remanded the case for entry of partial summary judgment in favor of Defendants, see Moss v. Parr Waddoups Brown Gee & Loveless,
ISSUE AND STANDARD OF REVIEW
T6 Plaintiffs argue that the district court erred by granting Defendants' motion for judgment on the pleadings. "When reviewing a grant of a motion for judgment on the pleadings, this court accepts the factual
*901
allegations in the complaint as true; we then consider such allegations and all reasonable inferences drawn therefrom in a light most favorable to the plaintiff." - Intermountain Sports, Inc. v. Department of Transp.,
ANALYSIS
T7 Plaintiffs argue that the district court's judiciаl privilege rulings, and other merit-based rulings, used to dismiss the tort claims raised in the amended complaint were improper in the face of Plaintiffs' allegations of Defendants' improper motive in obtaining the two discovery orders and then illegally searching Plaintiffs' home and removing Plaintiffs' property. Plaintiffs asserted in their amended complaint that Defendants' search of the home and seizure of property were illegal acts performed in the course of litigation in the prior Ilomed case against Yanаki, constituting actionable tort claims for abuse of process, invasion of privacy, intentional infliction of emotional distress, trespass to land and chattels, conversion, and civil conspiracy.
18 Plaintiffs' tort claims are each based on the assertion that Defendants' search of the home was illegal. The search was conducted pursuant to two presumably valid, court-issued discovery orders entered in the Iomed case. See generally 56 Am. Jur. 2d Motions, Rules, and Orders § 59 (2000) ("All court orders are presumеd valid and will stand until corrected on review or set aside."). As such, Plaintiffs cannot fault Defendants for acting in compliance with the court orders. See generally In re J.N.,
19 Because each of Plaintiffs' tort claims depends upon a determination that the discovery orders were illegal, Plaintiffs' claims сannot survive without a determination that the discovery orders were illegal. Plaintiffs did not, however, challenge the discovery orders in the proceeding in which the orders were issued. "With rare exception, when a court with proper jurisdiction enters a finаl judgment, ... that judgment can only be attacked on direct appeal." State v. Hamilton,
10 Any elaimed error regarding the discovery orders at issue in this case could have been challenged or dealt with in the proceeding in which they were sought and obtained. Yanaki did not challenge or object to the illegality of the discovery orders in the Iomed case. Plaintiffs' tort claims in the instant case are all based on the invalidity of the two discovery orders issued in that case. As such, each claim represents a collateral challenge to the discovery orders. Under
*902
the circumstances, Yanaki cannot now collaterally attack the legality of the discovery orders because he failed to use any of the available legal avenues for challenging the orders at the time they were issued or executed in the Iomed case. See generally Hamilton,
T11 Although Moss was not a party to the Tomed case, she is similarly precluded from collaterally attacking the validity of the discovery orders. We recognize that Moss, as a nonparty to the Iomed case, would have had difficulty challenging the disсovery orders in the previous case. See Brigham Young Univ. v. Tremco Consultants, Inc.,
112 Because we determine that Plaintiffs cannot now collaterally attack the legality of the discovery orders, we affirm the district court's ruling dismissing Plaintiffs' tort claims. 2 Our holding is dispositive of this appeal; therefore, we do not reach аny of Plaintiffs' other issues.
CONCLUSION
1183 Plaintiffs in the instant case assert that Defendants' search of their home and seizure of property were illegal acts, which constitute the actionable tort claims raised in their amended complaint. Defendants' actions were taken in compliance with two discovery orders obtained in the Iomed case. Each of Plaintiffs' causes of action depends upon a determination that the discovery orders were illegal. Plaintiffs did not challenge or object to the illegality of the discovery orders in the Iomed case.
T14 "The general rule of law is that a judgment may not be drawn in question in a collateral proceeding and an attack upon a judgment is regarded as collateral if made when the judgment is offered as the bаsis of a claim in a subsequent proceeding." Olsen v. Board of Educ.,
[ 15 Affirmed.
{16 WE CONCUR: JAMES Z. DAVIS, Presiding Judge and GREGORY K. ORME, Judge.
Notes
. The parties setiled the Iomed case in 2005.
. The district court applied the res judicata principal of collateral estoppel and similarly determined that Yanaki аnd Moss were precluded from challenging the discovery orders. The district court ruled,
Plaintiff, Yanaki, should have objected to the supposed illegality of the discovery order in the initial Iomed case wherein he was sued. He never pressed an objection to that order. He settled the case so there was no appeal. I is, therefore, presumed that the discovery order was valid. Yanaki took an active part in that case. He raised thirty-one defenses and included three counts in his counterclaim none of which dealt with the discovery order. He had an obligation to challenge the order if he felt it was illegal or even improperly issued, especially since Iomed's case depended upon it. The Plaintiffs are collaterally estopped from pursuing this claim.
