Pierre Gilliard was born on 16 May 1879 in Fiez, Switzerland. In his memoirs, Gilliard wrote that he initially came to Russia in 1904 as a French tutor to the family of Duke George of Leuchtenberg, a cousin of the Romanov family. He was recommended as a French tutor to the Tsar's children and began teaching the elder children, Grand Duchesses Olga and Tatiana Nikolaevna of Russia in 1905. He grew fond of the family and followed them into internal exile at Tobolsk, Siberia, following the Russian Revolution of 1917. The Bolsheviks prevented Gilliard from joining his pupils when they were moved to the Ipatiev House in Ekaterinburg in May 1918. He described his final view of the children in his memoirs: Gilliard remained in Siberia after the murders of the family, assisting White Russian investigator Nicholas Sokolov. He married Alexandra "Shura" Tegleva, who had been a nurse to Grand Duchess Anastasia Nikolaevna of Russia, in 1919. In Siberia, he was instrumental in unmasking an impostor who claimed to be the Tsarevich Alexei. In 1920, he returned to Switzerland via the Russian Far East. He became a French professor at the University of Lausanne and was awarded the French Legion of Honor. In 1921, he published a book entitled Le Tragique Destin de Nicholas II et de sa famille, which described the last days of the Tsar and his family, and the subsequent investigation into their deaths. In 1958, Gilliard was severely injured in a car accident in Lausanne. He never fully recovered and died four years later on 30 May 1962.
In 1925, the Tsar's sister, Grand Duchess Olga Alexandrovna of Russia, asked Gilliard and his wife to investigate the case of Anna Anderson, who claimed to be Grand Duchess Anastasia. On 27 July 1925, the Gilliards saw Anderson at St. Mary's Hospital in Berlin, where Anderson was being treated for a tubercular infection of her arm. Anderson was severely ill, and semi-conscious. Madame Gilliard asked to examine Anderson's feet, and noted that Anderson's feet were shaped similarly to Anastasia's: both had bunions. Gilliard insisted that Anderson be moved to a better hospital, to ensure her survival while her identity was investigated. After an operation on Anderson's arm, she recuperated at the Mommsen Nursing Home in Berlin. There, in October 1925, the Gilliards saw Anderson again. Anderson did not recognise Gilliard, which she later claimed was because he had shaved off his goatee beard. When he asked her to "tell me everything about your past", she refused. According to Gilliard, Anderson mistook Shura for Grand Duchess Olga on the second day of their visit. At a subsequent meeting, Anderson mimicked the actions of Anastasia when she asked Shura to moisten her forehead with eau de Cologne, which left Shura shaken. Anderson's supporters claimed that the Gilliards recognized Anderson as Anastasia, while the Gilliards denied it, and said her supporters mistook their compassion for recognition. Anderson's friend and lifelong supporter, Harriet von Rathlef, wrote that she spotted Gilliard in the hallway, looking agitated, and muttering in French, "My God, how awful! What has become of Grand Duchess Anastasia? She's a wreck, a complete wreck! I want to do everything I can to help the Grand Duchess!" Shura cried when she left Anderson, wondering why she loved the woman as much as she loved the grand duchess. On departure from the hospital, Gilliard told the Danish Ambassador in Berlin, Herluf Zahle, "We are going away without being able to say that she is not Grand Duchess Anastasia." Gilliard later wrote to von Rathlef making further enquiries about Anderson's health, but he referred to her as "the invalid" rather than "Anastasia". By the beginning of 1926, however, Gilliard was clearly of the opinion that Anderson was an impostor. While supporters of Anderson insisted that the Gilliards recognized her as Anastasia and then recanted, possibly the couple were hesitant at first because her emaciated condition made her look so different from the plump teenage Anastasia they had last seen. While this was enough to suspend their initial doubts, they eventually decided, once she was better and they could question her more closely, that she was an impostor. Anderson's supporters accused Gilliard of turning his back on her because he was paid off by the Tsarina's brother, Ernest Louis, Grand Duke of Hesse. Like Ernest Louis, Gilliard became a vociferous opponent of Anderson and her circle. Gilliard wrote articles and a book entitled The False Anastasia, which claimed she was a "vulgar adventuress" and a "first-rate actress". He said that he had known at once that she was not Anastasia, there was no facial resemblance, her entire knowledge of Russian imperial life was gleaned from magazines, books and her friends, and she could not speak Russian, English or French. He testified against her in Hamburg in 1958. The lawsuits, designed to determine whether she was truly the grand duchess, eventually ended inconclusively in 1970, after Gilliard's death. Decades later, DNA tests were carried out in 1995, which proved that Anderson was not Anastasia, but was a Polish woman by the name of Franziska Schanzkowska.