George was deeply devout and spent hours in prayer, but his piety was not shared by his brothers. George was appalled by what he saw as their loose morals. In 1770, his brother Prince Henry, Duke of Cumberland and Strathearn, was exposed as an adulterer, and the following year Cumberland married a young widow, Anne Horton. The King considered her inappropriate as a royal bride: she was from a lower social class and German law barred any children of the couple from the Hanoverian succession. George insisted on a new law that essentially forbade members of the Royal Family from legally marrying without the consent of the Sovereign. The subsequent bill was unpopular in Parliament, including among George's own ministers, but passed as the Royal Marriages Act 1772. Shortly afterwards, another of George's brothers, Prince William Henry, Duke of Gloucester and Edinburgh, revealed he had been secretly married to Maria, Countess Waldegrave, the illegitimate daughter of Sir Edward Walpole. The news confirmed George's opinion that he had been right to introduce the law: Maria was related to his political opponents. Neither lady was ever received at court.