Queen Maria II (Mary II) and King Ferdinand II's son, King Pedro V (Peter V) modernized the country during his short reign (1853–1861). Under his reign, roads, telegraphs, and railways were constructed and improvements in public health advanced. His popularity increased when, during the cholera outbreak of 1853–1856, he visited hospitals handing out gifts and comforting the sick. Pedro's reign was short, as he died of cholera in 1861, after a series of deaths in the royal family, including his two brothers Infante Fernando and Infante João, Duke of Beja, and his wife, Stephanie of Hohenzollern-Sigmaringen. Pedro not having children, his brother, Luís I of Portugal (Louis I) ascended the throne and continued his modernization.