The Federalist Papers deal with both the Tyranny of the Majority, as well as the Tyranny of the Minority.
https://en.wikipedia.org/wiki/Tyranny_of_the_majority https://en.wikipedia.org/wiki/The_Federalist_Papers