BOHEMIA, N.Y. (AP) Police say a man was arrested after he fatally shot a woman in a Long Island motel room and exchanged gunfire with responding police officers.

It happened at the MacArthur Inn in Bohemia just before 5 a.m. Saturday.

The officers had gone to a motel room to investigate a report of a shooting. When they knocked on the door, police say 24-year-old Stoker Olukotun Williams opened it and began firing at the two officers, who were only a foot away. The officers returned fire, wounding the suspect in the arm. No officers were injured.

Inside the room, police found the body of 24-year-old Shalece Cunningham, of Bay Shore. She had been shot in the head. Two friends of the victim were also in the room, but were unharmed.

The Bay Shore man is to be arraigned on murder and attempted murder charges on Sunday. It wasn't clear if he had a lawyer.