Recently , the former Virginia attorney general , Jerry W. Kilgore , a Republican , injected illegal immigration as an issue into his tightly contested race for governor against Timothy M. Kaine , the Democratic lieutenant governor .