The sentence that requires revision to maintain a formal style is:
"Quakers like William Penn wouldn't pay taxes to support wars because they were against it, and this made people angry."
To maintain a formal style, it could be revised to: "Quakers, including William Penn, refused to pay taxes to support wars due to their beliefs against warfare, which caused significant discontent among the populace."