A 25-year-old man accused of shooting another man at a party and leaving his body at the scene for several days before the slaying was reported to police was sentenced to six years in prison in Pima County Superior Court Monday.

Zane G. Williams pleaded guilty in March to negligent homicide for the fatal shooting of 23-year-old Javier Johansen.

Both men were drinking and doing drugs on March 23, 2012, at an apartment party when Williams took out a gun that accidentally went off, according to his defense attorneys.

Johansen's body was found in the apartment in the 100 block of East Blacklidge Drive four days later after Williams' brother called to report the shooting.

The brother told police there was an argument between the two men, and Williams intentionally shot Johansen, prosecutor Laura McGinley told Judge Richard Nichols at the sentencing hearing.

Williams' girlfriend told police the shooting was accidental, McGinley said.

Both witnesses were intoxicated at the time of the shooting, McGinley said.

Williams and his girlfriend fled to San Diego, where Willliams was arrested several days after Johansen's body was found.

Williams apologized for his actions at the sentencing hearing.

"I never should have been that drunk. I never should have had a gun out," Williams said.

On StarNet: Find an interactive crime map for Tucson and Pima County at azstarnet.com/crimemap

Contact reporter Veronica Cruz at vcruz@azstarnet.com or 573-4224.