Passage: On 4 August 1914 the King wrote in his diary, "I held a council at 10.45 to declare war with Germany. It is a terrible catastrophe but it is not our fault. ... Please to God it may soon be over." From 1914 to 1918, Britain and its allies were at war with the Central Powers, led by the German Empire. The German Kaiser Wilhelm II, who for the British public came to symbolise all the horrors of the war, was the King's first cousin. The King's paternal grandfather was Prince Albert of Saxe-Coburg and Gotha; consequently, the King and his children bore the titles Prince and Princess of Saxe-Coburg and Gotha and Duke and Duchess of Saxony. Queen Mary, although British like her mother, was the daughter of the Duke of Teck, a descendant of the German Dukes of Württemberg. The King had brothers-in-law and cousins who were British subjects but who bore German titles such as Duke and Duchess of Teck, Prince and Princess of Battenberg, and Prince and Princess of Schleswig-Holstein. When H. G. Wells wrote about Britain's "alien and uninspiring court", George famously replied: "I may be uninspiring, but I'll be damned if I'm alien."On 17 July 1917, George appeased British nationalist feelings by issuing a royal proclamation that changed the name of the British royal house from the German-sounding House of Saxe-Coburg and Gotha to the House of Windsor. He and all his British relatives relinquished their German titles and styles, and adopted British-sounding surnames. George compensated his male relatives by creating them British peers. His cousin, Prince Louis of Battenberg, who earlier in the war had been forced to resign as First Sea Lord through anti-German feeling, became Louis Mountbatten, 1st Marquess of Milford Haven, while Queen Mary's brothers became Adolphus Cambridge, 1st Marquess of Cambridge, and Alexander Cambridge, 1st Earl of Athlone.

Question: Who did Britain go to war against from 1914 to 1918?
Central Powers