Sanford was standing in a corner off the House floor in a sweaty t-shirt and shorts, grinning sheepishly as reporters and lawmakers passed him by.
Lawmakers are supposed to be in jackets and ties when on the House floor.
Sanford was out on a run when the vote was called.
Sanford was back in a suit and tie for the next series of votes, which occurred about an hour later.
--Erik Wasson contributed.