fix grammar:

Peter Salem (October 1, 1750 – August 16, 1816) was an African-American from Massachusetts who served as a U.S. soldier in the American Revolutionary War. Salem grew up enslaved in Framingham, as did his mother. In early 1775, his role as slave was a farm worker.
Soldier during the Revolutionary War Peter Salem. He fought in important battles like Bunker Hill, where he shot a British officer and boosted American confidence. Salem's bravery shows the of African Americans to the fight for their independence.
His actions on the battlefield demonstrated commitment to the cause of freedom, inspiring others to join the fight for independence. Peter Salem's legacy serves as a reminder that heroism can pave the way to victory.
please help me

Peter Salem (October 1, 1750 – August 16, 1816) was an African-American from Massachusetts who served as a U.S. soldier in the American Revolutionary War. Salem grew up enslaved in Framingham, as did his mother. In early 1775, his role was that of a farm worker, but as the Revolutionary War began, he became a soldier.

Salem fought in important battles like Bunker Hill, where he shot a British officer and boosted American confidence. His bravery showcased the determination of African Americans in the fight for their independence. His actions on the battlefield demonstrated a commitment to the cause of freedom, inspiring others to join the fight for independence. Peter Salem's legacy serves as a reminder that heroism can pave the way to victory.

Peter Salem (October 1, 1750 – August 16, 1816) was an African-American from Massachusetts who served as a U.S. soldier in the American Revolutionary War. Salem grew up enslaved in Framingham, as did his mother. In early 1775, he worked as a farm worker despite being enslaved.

During the Revolutionary War, Peter Salem played a significant role as a soldier. He fought in important battles, such as Bunker Hill, where he shot a British officer, boosting American confidence. Salem's bravery showcases the contribution of African Americans to the fight for their independence.

Through his actions on the battlefield, Salem demonstrated a strong commitment to the cause of freedom, inspiring others to join the fight for independence. Peter Salem's legacy serves as a reminder that heroism can pave the way to victory.

Peter Salem (October 1, 1750 – August 16, 1816) was an African-American from Massachusetts who served as a U.S. soldier in the American Revolutionary War. Salem grew up enslaved in Framingham, as did his mother. In early 1775, his role was that of a farm worker who was also a slave.

During the Revolutionary War, Peter Salem fought in important battles like Bunker Hill, where he shot a British officer and boosted American confidence. Salem's bravery demonstrates the contribution of African Americans to the fight for their independence.

His actions on the battlefield demonstrated a commitment to the cause of freedom, inspiring others to join the fight for independence. Peter Salem's legacy serves as a reminder that heroism can pave the way to victory.