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: Dozens Of Homes Were Evacuated Due To Wildfire In Central Texas

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: Greenhill Seniors Lee Dort And Noah Shelby To Continue Unique Bond At Vanderbilt University

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: 3 Teens Killed In Double Murder-Suicide Near Houston, Sheriff Says

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