On April 7.1831 ; Emperor Pedro I of Brazil resigns. He goes to his native Portugal to become King Pedro IV.