GILROY -- Two men broke into a residence shortly before noon Wednesday, yelled "police" to attract the attention of the lone woman who was home at the time, then demanded her valuables while threatening her with a blunt instrument and yelling racial slurs, police said.

The woman was staying as a guest at the home on the 300 block of Mantelli Drive around 11:40 a.m. when she heard someone knocking at the door and ringing the bell, according to police. She didn't respond or see who was outside, and a short time later heard footsteps in the house and the men repeatedly yelling "police."

On the second floor landing, she saw that they were not law enforcement officers but two men, 20 to 24 years old, both wearing black hooded sweatshirts.

Then they accosted her, then forced her into a secluded room and told to stay there while they fled.

Police said the men apparently got into the home by prying open a rear window. Officials did not disclose if anything was taken. One was described as six feet tall and thin, the other a few inches shorter.

Anyone with information about the crime is asked to call Gilroy police at 408-846-0350. Those wishing to remain anonymous can call We-Tip at 1-800-782-7463.

Contact Eric Kurhi at 408-920-5852. Follow him at Twitter.com/erickurhi.