Analyzing the Erosion of Democracy