In March and April 1706, George was seriously ill. There was blood in his sputum, but he seemed to recover, although he was too ill to attend a thanksgiving service at St Paul's Cathedral in June for a British victory in the Battle of Ramillies. He missed another thanksgiving service in May 1707, to celebrate the union of England and Scotland, as he was recuperating at Hampton Court.