The second edition of Frankenstein was published in 1821 in Paris, France. The first edition that was published in 1818 in London was anonymous and did not have Mary Shelley's name on it, but the second edition did.
Source: Shelley, Mary. Frankenstein, Ryerson University, 15 Feb. 2022, https://pressbooks.library.torontomu.ca/frankenstein/.