In 1701, Parliament passed the Act of Settlement that bypassed the claims of Anne's half-brother, James Francis Edward Stuart, living in exile. Instead, it named the Electress Sophia of Hanover, James I's grand-daughter and Queen of Bohemia Elizabeth's youngest daughter.
In spite of being kind of a lame duck dynastic Queen, Anne proved to have a very eventful reign with the War of Spanish Secession (through 1714) and the Act of Union in 1706, creating Great Britain as major events. She was a loyal Anglican and approved of the Tory party, but with her reign the power and involvement of the Prime Minister and professional politicians increased, and the monarch became more of figurehead. As Queen, Anne revived the practice of the "King's/Queen's Touch", revealing a belief in healing connected to the Divine Right of Kings and God's providence in the succession -- Samuel Johnson who developed scrofula as a toddler was "touched" by Queen Anne on March 30, 1712. It did not clear up his condition, however, and he was left with scars from surgery. She was the last monarch in England to perform this ritual.