Ferdinando was only 10 years of age when his father Cosimo II died. Because he had not yet reached maturity, his mother Maria Maddalena and paternal grandmother, Christina of Lorraine, acted as joint regents. In his seventeenth year, Ferdinando embarked on a tour of Europe. One year later, his regency ended and his personal rule began. The dowager Grand Duchess Christina was the power behind the throne until her death in 1636. Ferdinand, like Christina before him, was a patron, ally, and friend of Galileo Galilei. Galileo dedicated his Dialogue Concerning the Two Chief World Systems to him. This work led to Galileo's second set of hearings before the Inquisition. Ferdinand attempted to keep the concerns of the Holy See from leading to a full-fledged hearing and kept Galileo in Florence until December 1632, when the Roman Inquisitors finally threatened to bring Galileo to Rome in chains if he would not come voluntarily. In June 1633, the Roman Inquisition convicted the astronomer for "vehement suspicion of heresy" and sentenced him to imprisonment for life. After this was commuted to house arrest, the devoutly Catholic Ferdinand welcomed Galileo back to Florence. The first calamity of Ferdinando’s reign was an outbreak of the plague that swept through Florence in 1630 and took 10% of the population with it. Unlike the Tuscan nobility, Ferdinando and his brothers stayed in the city to try to ameliorate the general suffering. His mother and grandmother arranged a marriage with Vittoria della Rovere, a granddaughter of the last Duke of Urbino, in 1633. Together they had two children: Cosimo, in 1642, and Francesco Maria de' Medici, in 1660. The latter was the fruit of a brief reconciliation, as after the birth of Cosimo, the two became estranged; Vittoria caught Ferdinando in bed with a page, Count Bruto della Molera. after Adriaen van Bloemen Ferdinando was obsessed with new technology and had several hygrometers, barometers, thermometers and telescopes installed in the Palazzo Pitti. In 1654, influenced by Galileo, he is reported to have invented the sealed-glass thermometer by sealing the glass tip of a tube filled to a certain height with colored alcohol. Small glass bubbles filled with air at varying pressures hovered trapped within the liquid, changing positions as the temperature rose or fell. Marked off with 360 divisions, like the gradations or "degrees" of a circle, this type of device was called a "spirit thermometer", because it was filled with "spirit of wine", or a "Florentine thermometer". In 1657, Leopoldo de' Medici, the grand duke’s youngest brother, established the Accademia del Cimento. It was set up to attract scientists from all over Tuscany to Florence for mutual study. Tuscany participated in the Wars of Castro and inflicted a defeat on the forces of Pope Urban VIII in 1643. The treasury was so empty that when the Castro mercenaries were paid for the state could no longer afford to pay interest on government bonds. The interest rate was lowered by 0.75%. The economy became so decrepit that barter trade became prevalent in rural market places. Ferdinando died on 23 May 1670 of apoplexy and dropsy. He was interred in the Basilica of San Lorenzo, the Medicis' necropolis. At the time of his death, the population of the grand duchy was 730,594 souls; the streets were lined with grass and the buildings on the verge of collapse in Pisa.