King Edward VII and Queen Mary School (KEQMS) was an HMC independent co-educational school in Lytham St Annes, Lancashire, England, formed in 2000 by the merger of King Edward VII School, Lytham and Queen Mary School. It merged with Arnold School, Blackpool, in 2012 to form AKS Lytham. The Lytham Schools Foundation was established in 1719 after a flood disaster in the town. In 1908, one hundred and eighty-nine years after the Foundation's initial formation, King Edward VII School was opened to provide an education for local boys. The opening of the girls' Queen Mary School followed in 1930.