Plaintiff appeals as of right an order granting defendants’ motion for summary disposition pursuant to MCR 2.116(C)(7) on the ground of res judicata in this defamation case. We affirm.
On April 28, 1982, plaintiff commenced this case alleging defamation based on a February 23, 1981, article published in the Detroit Free Press. On October 29, 1982, Wayne Circuit Court Judge Michael Stacey dismissed the case with prejudice when plaintiff failed to post a bond for security for costs pursuant to GCR 1963, 109 in compliance with the court’s order. Plaintiff did not appeal from the dismissal.
Plaintiff was subsequently imprisoned by the federal government from April 4, 1983, until September 6, 1988. On September 6, 1989, plaintiff recommenced the same lawsuit in the Wayne Circuit Court. On November 3, 1989, the court granted defendants’ motion for summary disposition, holding that (1) the case was barred by the doctrine of res judicata because of the unappealed prior dismissal with prejudice, and (2) the statute of limitations would bar the case even if the prior dismissal did not.
Plaintiff first argues that a dismissal with prejudice for violation of a court order is not an adjudi*279cation on the merits for res judicata purposes. We disagree. The dismissal with prejudice of the defamation suit, which arose out of the same facts as the instant suit, amounted to an adjudication of the merits and bars this action. Ingham Co Employees’ Ass’n v Ingham Circuit Court, 170 Mich App 118, 122; 428 NW2d 7 (1988); Carter v Southeastern Michigan Transportation Authority, 135 Mich App 261, 265; 351 NW2d 920 (1984); MCR 2.504(B)(1), (3). The trial court did not err in granting defendants’ motion for summary disposition on the basis of res judicata. MCR 2.116(C)(7).
We further note that even if res judicata did not bar plaintiffs claim, the claim would be barred by the statute of limitations. MCL 600.5805(7); MSA 27A.5805(7) provides that the period of limitation is one year for an action charging libel or slander. Such a claim accrues at the time the wrong was committed regardless of the time when damage results. MCL 600.5827; MSA 27A.5827. The alleged "wrong” in both the original action and the instant action occurred when the February 23, 1981, article was published. Even if we were to accept plaintiffs erroneous argument that the applicable period of limitation is three years, plaintiffs case still would have been time-barred at the time the September 6, 1989, complaint was filed.
We also reject plaintiffs argument that his imprisonment tolled the statute of limitations. For tolling to occur, MCL 600.5851(3); MSA 27A.5851(3) requires that the imprisonment must have existed at the time the claim accrued. However, plaintiff was not imprisoned when his claim accrued on February 23, 1981. To the contrary, plaintiff alleges in his complaint that he was not imprisoned until more than two years later, on April 4, 1983.
We decline to address plaintiffs argument that *280dismissal for failure to comply with a court order was unconstitutional, because plaintiff failed to timely appeal such dismissal. MCR 7.204(A).
Lastly, defendants’ request for costs and attorney fees is granted. We assess costs on appeal of $2,000 against attorney Jesse R. Odom because we are convinced that the appeal was taken without any reasonable basis for belief that there was a meritorious issue to be determined on appeal. MCR 7.216(C)(1)(a).
Affirmed.