A tip from a resident helped police on Monday capture a 23-year-old man who authorities say fatally shot a sheriff's deputy and went on the run for four days in the rugged wilderness along the Utah-Arizona border.

More than a dozen officers used night vision goggles and a helicopter to find Scott Curley armed with a rifle and hiding near the house outside Kanab, police said. Curley surrendered without a fight.

The resident had reported that a man who had a rifle slung over his shoulder was trying to break into the home, police said.

Authorities believe the rifle was the weapon Curley used to shoot Kane County Deputy Brian Harris, 41, during a foot chase on Thursday in Fredonia, Ariz., a town along the border that is policed by deputies from Utah and Arizona.

Curley was suspected of trying to burglarize Fredonia High School and holding a janitor at gunpoint on Wednesday night. The janitor was unharmed, and Curley avoided authorities until Thursday.

Authorities said Curley suffered from depression and had few friends, but was familiar with the countryside near Fredonia. They had said searchers could pass 10 feet from him and never see him hiding.

Deputies were questioning Curley early Monday. Arizona authorities say they'll pursue extradition and prosecution on a warrant issued for first-degree murder. Curley was being held in jail in Hurricane, Utah.

It was unclear Monday whether he had an attorney.

The U.S. Marshals Service offered a $10,000 reward for information leading to Curley's capture. There was no word on the status of that reward early Monday.

Kanab is about 310 miles southeast of Salt Lake City.