In March 1831, Rio erupted in five nights of riots — the Night of Bottles — driven by hatred of Dom Pedro I's Portuguese loyalties and his neglect of his dying wife. On 7 April 1831, he abdicated in favour of his five-year-old son and sailed away on a British warship, never to return.