MIDDLETON -- A 24-year-old was arrested after police say he shot another man in Middleton Tuesday night.

The shooting happened at about 9 p.m. outside a home on West Second Street.

Police say the suspect, Daniel Lawrence Shaffner, and the 42-year-old victim did not know each other. Shaffner shot the man once in the upper leg after an arguement, according to investigators.

Shaffner was taken into custody the same night, and was booked into the Canyon County Jail. He is charged with attempted murder and aggravated battery in connection to the attack.

The shooting victim was taken to Saint Alphonsus for treatment.

Middleton Police has handed the case over to Idaho State Police for investigation. Shaffner is due in court May 30 for a preliminary hearing.