In 1919, it had been a great humiliation for the Egyptians that Egypt had been excluded from the Paris peace conference that led to the Treaty of Versailles and the League of Nations, causing the revolution of 1919. Farouk was determined that this time that Egypt would be a founding member of the United Nations, which would show the world that the country was ending British influence in Egyptian affairs. On 24 February 1945, Prime Minister Maher had the Chamber of Deputies issue declarations of war against Germany and Japan, and as he was leaving the Chamber, he was assassinated by Mahmoud Isawi, a member of the pro-Axis Young Egypt Society. Isawi was shaking Maher's hand and then pulled out his handgun, shooting the prime minister three times while screaming that he had betrayed Egypt by declaring war on Germany and Japan. When Lampson arrived at the Koubbeh Palace to see Farouk, he wrote he was shocked instead to see instead "...it was the wicked Aly Maer who was receiving condolences". As a result, Egypt attended the peace conference in San Francisco in April 1945 that founded the United Nations.