(CNN) A lockdown at the state capitol in Olympia, Washington, has been lifted, Washington State Patrol spokesman Kyle Moore said Wednesday.

The lockdown was put in place after a worker called 911 to report that someone leaving a state government building had heard what sounded like gunfire, according to Moore.

Moore said the person who reportedly heard the sound has not been located. The bomb squad was called in and state troopers were deployed on campus as a precaution, Moore said.

Earlier Wednesday, people were advised to remain indoors, an official with the office of Gov. Jay Inslee told CNN.

"All of our buildings are on lockdown due to reports of an active shooter two blocks away from our office," the press official said.

Read More