WEST VALLEY CITY — A seven-hour standoff ended peacefully Tuesday when a man police say threatened his roommates with a knife gave himself up.

West Valley Police Lt. Scott Buchanan said Robert Brown, 36, threatened his roommates with a knife, prompting them to lock themselves in a bedroom and call police. Officers responded to 5920 W. Nugget Drive (4340 South) and helped them exit through a window, but Brown remained inside.

Nearby Hillside Elementary School was locked down for about three hours during the standoff. The students were not threatened during the standoff, police said.

At one point, Brown sicced a pit bull on the officers outside. He was arrested about 7 p.m. 

"One of our officers was bitten," Buchanan said. "Several of our officers fired shots, and the dog was killed."

McKenzie Romero Twitter: @McKenzieRomero