Lt. Gov. Justin E. Fairfax of Virginia, who has been accused of sexual assault by two women and is facing calls to resign, compared himself to lynching victims in an unplanned speech before the State Senate on Sunday and said he was “standing firm in the truth.”

Mr. Fairfax, who is black, spoke for about five minutes from the dais on the last day of the session, and referred to bills previously passed by state legislators that expressed regret over past lynchings in Virginia.

“I have heard much about anti-lynching on the floor of this very Senate, where people are not given any due process whatsoever, and we rue that,” said Mr. Fairfax, a Democrat. “And yet we stand here in a rush to judgment in nothing but accusations and no facts, and we are deciding we are willing to do the same thing.”

The impromptu speech came days after Mr. Fairfax’s accusers indicated they were willing to testify publicly. Virginia’s Republican-controlled House of Delegates announced Friday that it would hold hearings on the accusations, a move that promised to bring the spotlight back to a scandal that had started to quiet.