Why was Dom Pedro II removed from office?

He abolished slavery.
He was ruling like a dictator.
He was cruel and harsh.
He had jailed too many landowners.