Police have extradited a man from Victoria in relation to a shooting in Granville on July 1.
On Tuesday, the man, 22, was arrested in Melton, Victoria.
Rosehill police successfully applied for his extradition and he was flown to Sydney on Wednesday.
On July 1, a shot was allegedly fired from a car at an 18-year-old man who was walking along Blaxcell Street, Granville.
The shot missed him and struck the window of a nearby home.
Two adults and eight children were inside the home but no one was hurt.
Rosehill officers formed Strike Force Dured to investigate the shooting.
The man extradited from Victoria has been charged with intent to murder and appears in Central Local Court on Thursday.
Rosehill police's Detective Inspector Neil Hallinan the arrest was the result of dogged police work.
“We are committed to sending the message that the unlawful use of guns will not be tolerated in our community,” Inspector Hallinan said.
“You can rest assured that we will continue to knock on doors and do whatever is necessary to get the answers we need.”