The scarlet letter is meant to be a mark of shame for Hester, for the "A" represents her adultery, and initially it ostracizes her from the community of Boston. Later because of her kind, thoughtful nature and willingness to tend the sick, the citizens begin to regard the "A" as "Able"; Hester, however, continues to feel cut off, enclosed in a "sphere of her own" created by the letter to the extent that she develops a "marble coldness" as her passion disappears. Pearl knows her mother only with the "A" on her dress; without it, it seems that Hester is not her mother. When Hester removes the letter in the forest after reconnecting with the minister, Pearl insists her mother put it back on; her attitude toward the letter does not change. Her mother complies and doesn't take it off again apparently until she leaves Boston. Hester resumes wearing the letter after she returns to Boston in the years following Dimmesdale's and Chillingworth's deaths. The "A" is no longer a stigma as Hester becomes the "angel" foreshadowed perhaps by the "A" seen in the sky on the night the governor died. Hester's goodness changes the townspeople's attitude toward the letter.
The Scarlet Letter is an 1850 romantic work of fiction in a historical setting, written by Nathaniel Hawthorne, and is considered to be his magnum opus. Set in 17th-century Puritan Boston, Massachusetts during the years 1642 to 1649.
So not only do you have the year wrong, but you have the location wrong.
It takes place in "Salem and Concord, Massachusetts; late 1840s." When Dimmesdale dies, Herster and Pearl leave for Boston then Hester returns to Salem later in her life.
Just so loganj knows that prismschism is right.
I want to point out it takes place in BOSTON, not Salem. No idea what book prismschism was reading.
The other answer is good, but I just wanted to point out that The Scarlet Letter takes place in Salem, not Boston.