- Francesco Schettino is freed from house arrest but must stay in his home town
- He was in charge of the Costa Concordia when it struck rocks and overturned
- At least 30 people died in January's shipwreck off the Italian coast
- Schettino's lawyer says his behavior under house arrest has been "faultless"
Rome (CNN) -- Italian judges released the captain of the wrecked Costa Concordia cruise liner from house arrest Thursday, but ordered him not to leave his home town while the case against him continues, his lawyer said.
Francesco Schettino has been under house arrest in his home town of Meta di Sorrento, near Naples, since January 17.
At least 30 people died when the cruise liner struck rocks and turned on its side off the Italian island of Giglio on January 13.
Schettino faces allegations of manslaughter, causing a shipwreck, abandoning ship, failing to report an accident to the coast guard and destroying a natural habitat, a prosecutor said this year. Giglio is a protected park.
Schettino's first officer, Ciro Ambrosio, and six other officers both on the ship and from the firm Costa in Genoa are under investigation over allegations including manslaughter, shipwreck and failure to report the accident, the prosecutor in the case has said.
No one has been charged in connection with the shipwreck.
The judge leading the preliminary investigations, Valeria Montesarchio, said it would be easy to keep Schettino under "adequate supervision" in Meta di Sorrento without house arrest because it is a small town, according to court documents released Thursday.
In addition, the months Schettino has spent under house arrest have already produced a "deterrent effect," Montesarchio said.
The judge also lifted a provision barring Schettino from communicating with anyone apart from his lawyers and family.
Schettino's lawyer, Bruno Leporatti, had argued for the lifting of the restrictions on his client, saying his behavior had been "faultless."
From the beginning, Leporatti said, the attitude of the captain had been "totally collaborative, he has spoken on his defense but admitting his responsibilities, without trying to download them on others."
A court hearing on July 21 will start the examination of the enormous amount of technical information gathered in the wake of the disaster.
Salvage experts announced in May that efforts to raise the wrecked liner from the sea floor in one piece and tow it from the disaster site were getting under way.

