A bullet that landed in the office of House Minority Whip Eric Cantor was the result of "random gunfire," police in Richmond, Virginia said Friday.

Cantor, the No. 2 Republican in the House of Representatives, told reporters Thursday that a bullet was shot through a window at his campaign office in Richmond, Virginia. He also said he had received threatening messages.

In a news release Thursday, police said the bullet struck at about 1 a.m. on Tuesday. The preliminary investigation showed that "a bullet was fired into the air and struck the window in a downward direction, landing on the floor about a foot from the window. The round struck with enough force to break the windowpane but did not penetrate the window blinds. There was no other damage to the room, which is used occasionally for meetings by the congressman."

The building, which has several tenants including an office used by Cantor, was unoccupied at the time, the news release said.

Richmond police spokesman Gene Lepley told CNN Friday that it was the result of "random gunfire."

–CNN's Brianna Keilar contributed to this report

Read the full story at CNN's Political Ticker