Legal ghettos were dismantled but the term survived for voluntary Jewish quarters.
Evidence
The strict compulsory ghettos of Italy and Austro-Germany were dismantled at the end of the eighteenth century and early in the nineteenth century. For example, in 1797 the gates of the Venetian ghetto were demolished. The Jews were able to participate more fully in society. Nevertheless, the word “ghetto” survived to designate the areas in which Jews tended to congregate, even when they had the opportunity to live elsewhere. — David Theo Goldberg, John Solomos, A Companion to Racial and Ethnic Studies, 2380