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."
A more formal revision might replace "wouldn't" with "would not" and rephrase "this made people angry" to something like "which provoked discontent among some members of the community."