State Sen. Mark Obenshain’s (R) campaign for attorney general of Virginia formally filed for a recount on Wednesday.

A runner for Obenshain’s campaign was sent over to the Capitol in Richmond to formally file the papers Wednesday morning.

“This morning we are filing a petition for recount and a memorandum in support of the recount and it’s actually on its way over to the court as we speak,” Obenshain attorney Stephen C. Piepgrass said in a conference call with reporters Wednesday morning. “As soon as the petition is filed the process begins for a special recount court to start planning the recount.”

Obenshain filing for a recount comes only two days after the Virginia State Board of Elections certified the attorney general race with Obenshain’s opponent, state Sen. Mark Herring (D) as the winner. The State Board of Elections certified that Herring won by a slim 165-vote margin, a margin small enough that either candidate could call for a recount.

Obenshain officials said that they expect the recount to happen in mid-December, roughly around the week of Dec. 15. The Obenshain campaign expects the recount to take one day but possibly two for all the state’s jurisdictions to conduct the recount.