PLANO, Texas (CBSDFW.COM) – A man accidentally shot and injured his neighbor as he was moving a shotgun inside an apartment in Plano early Tuesday morning, police said.

Police said the incident happened at around 1:30 a.m. at the Hunters Glen apartments on Independence Parkway.

READ MORE: Truck Loses Control, Slams Into Royse City Police Officer Michael Baley While Helping Stranded Motorist 

The victim told police he was sitting inside his apartment when he heard a loud noise and thought something had happened involving his wife. However, when he got up to check, he found that he had been shot in the leg, police said.

READ MORE: Customs Officers Seize Narcotics At Texas-Mexico Border Worth $1.8M+ Hidden In Tires, Ice Chests

Police said the victim’s neighbor had accidentally discharged a shotgun.

The victim was taken to the hospital to treat his injuries. He’s expected to be okay.

MORE NEWS: Man Wanted In Dallas For Child Sexual Assault Charges, Jose Gerardo Ibarra Arrested At U.S.-Mexico Border

The man who fired is expected to be charged with a misdemeanor of discharging a firearm.