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: Dallas Police Investigating Another Homicide In Mountain Creek Area

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: Texas Border Wall: Gov. Abbott Says Nearly $400,000 Raised In First Week Of Donations

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: Federal Unemployment Benefits Ending Early In Many States

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