Anne was the second daughter of James, Duke of York, who became James II, and his first wife, Anne Hyde, daughter of Edward Hyde, Earl of Clarendon. Anne and her elder sister Mary received a Protestant upbringing although their father James converted to Catholicism and remarried. In 1683 Anne married Prince George of Denmark (1653–1708). She had between 16 and 18 pregnancies but only one child survived - William, Duke of Gloucester who died aged 11 of smallpox in 1700.
Her sister Mary married William of Orange but Anne was forbidden by her father to visit her in the Netherlands. When William landed in England in 1688 to take the throne, Anne on the influence of her close friend Sarah Churchill (1650–1744) the wife of John Churchill (1650–1722), supported her sister and brother-in-law against her father James. Churchill was created Duke of Marlborough by William when he was crowned King William III and her sister Queen Mary II. Anne detested her brother-in-law, and the Churchills' influence led her briefly during William’s reign to engage in Jacobite intrigues.
Mary died in 1694 and on William’s death in 1702 Anne succeeded to the throne as Queen Anne. When she was crowned in April 1702 Anne was 37 years old and after her many pregnancies had poor health and no longer her youthful figure. She was shy and stubborn and very different from her outgoing sister Mary. Anne and Sarah Churchill, Duchess of Marlborough, remained close friends – Anne addressed Sarah as ‘Mrs Freeman’ and she called Anne ‘Mrs Morley’. Sarah’s husband the Duke of Marlborough commanded the English Army in the War of Spanish Succession, and won a series of victories over the French at Blenheim (1704), Ramillies (1706), Oudenarde (1708) and Malplaquet (1709). The influence of the Churchill’s however began to decline and after a violent quarrel in 1710, Sarah Churchill was dismissed from court. Abigail Masham succeeded the duchess as Anne's favourite, using her influence to further the Tories.
Towards the end of her life, Anne suffered from gout and she could hardly walk. On her death in 1714 her body had swollen so large that she was buried in an almost square coffin. On the question of succession, Anne's family loyalty had convinced her that this should fall to her father's son by his second wife (Mary of Modena), James Edward Stuart, known as the Old Pretender. However, the Act of Settlement in 1701 ensured Protestant succession to the throne, and Anne was succeeded by George I, great-grandson of James I (Royal family history: www.britroyals.com)