Former UFC heavyweight champions Frank Mir and Josh Barnett will square off against one another this August at UFC 164.

The two have been hinting at a possible match in the previous days, and the UFC’s official Twitter page announced the fight on Wednesday night.

Mir (16-7) is looking to snap a two-fight losing streak to Daniel Cormier and then-UFC heavyweight champion Junior dos Santos.

Barnett (32-6) is returning to the Octagon for the first time in 11 years, as he left the company after being stripped of the title. He topped Nandor Guelmino to close out Strikeforce earlier this year.