JEFFERSONVILLE, Ind. (AP) — Police fatally shot a 65-year-old man during a standoff at an apartment complex in southern Indiana, authorities said Wednesday.

A SWAT team member shot Richard Glass around 11:30 p.m. Tuesday after Glass pointed a gun out his apartment window in Jeffersonville, north of Kentucky along the Ohio River, according to Indiana State Police, who are investigating the shooting.

Glass had earlier fired shots inside the apartment and toward officers from the window.

A resident called 911 about 9:30 p.m. Tuesday and requested a welfare check after Glass reportedly made statements about going back to prison.

Glass called 911 himself a short time later, requesting officers and telling a dispatcher someone was trying to hack his phone. He said he had a firearm and “did not want to use it on the person hacking his phone,” police said.

Glass would not open his apartment door when police and paramedics arrived. He told a dispatcher “he did not think the people in the hallway were police and repeated statements about having a gun.”

Officers pulled back and later saw Glass from a window, confirming he had firearms. Officers reported that at about 11:30 p.m. Glass was shooting toward them from his window, state police said.

The SWAT team member later shot him.