CHARLESTON, S.C. (AP) — Former South Carolina Gov. Mark Sanford must appear in court two days after running for a vacant congressional seat to answer a complaint that he trespassed at his ex-wife's home, according to court documents acquired by The Associated Press on Tuesday.

The complaint says Jenny Sanford confronted Sanford leaving her Sullivans Island home on Feb. 3 by a rear door, using his cell phone for a flashlight. Her attorney filed the complaint the next day and Jenny Sanford confirmed Tuesday the documents are authentic.

The couple's 2010 divorce settlement says neither may enter the other's home without permission. Mark Sanford lives about a 20-minute drive away in downtown Charleston.