A five-hour standoff near Stevensville Sunday evening resulted in a Stevensville man being arrested by Ravalli County Sheriff's Deputies. A felony charge of attempted deliberate homicide has been initially charged against 48-year-old Dan Robert Loeffler, according to Ravalli County Sheriff Steve Holton.

Officers were called to Cougar Lane a little after 7 p.m. Sunday, May 15, upon reports described by a sheriff's office news release that stated "a resident in the area had fired multiple rounds toward other residents and homes, causing them apprehension for their safety." Officers responded and found Loeffler standing on the deck of his home. Officers approached, but Loeffler did not cooperate with them and eventually locked himself inside inside the house, beginning the standoff.

Negotiation was done by phone and with loudspeakers, and with some success during the next five hours, Loeffler came out of the house, but was still uncooperative. Several officers apprehended him with the use of a Taser. There were no significant injuries to anyone involved, Holton reported.

Get our free mobile app

The initial felony charges are Attempted Deliberate Homicide,three counts of Criminal Endangerment, three counts of Assault with a Weapon and misdemeanor Obstructing a Peace Officer. Loeffler is in the Ravalli County Detention Center and investigation is continuing.

Sheriff Holton credited the deputies for their professionalism, saying in a news release, "The responding deputies took immediate steps to de-escalate the situation before an innocent person could be hurt, and took measures to protect themselves and the suspect during what could potentially have been a tragic situation."

LOOK: Here is the richest town in each state

Just saying the names of these towns immediately conjures up images of grand mansions, luxury cars, and ritzy restaurants. Read on to see which town in your home state took the title of the richest location and which place had the highest median income in the country. Who knows—your hometown might even be on this list.

LOOK: Here are the 25 best places to live in Idaho

Stacker compiled a list of the best places to live in Idaho using data from Niche. Niche ranks places to live based on a variety of factors including cost of living, schools, health care, recreation, and weather. Cities, suburbs, and towns were included. Listings and images are from realtor.com.

On the list, there's a robust mix of offerings from great schools and nightlife to high walkability and public parks. Some areas have enjoyed rapid growth thanks to new businesses moving to the area, while others offer glimpses into area history with well-preserved architecture and museums. Keep reading to see if your hometown made the list.