When he was a year old, the Greco-Turkish War forced Prince Philip's family out of Greece. They settled in France where Philip spent the majority of his childhood. He joined the Royal Navy in 1939 and upon graduating spent many years at sea on various battleships during WW II. He renounced his allegiance to the Greek crown and became a British subject when he married Princess Elizabeth in 1947.
Prince Philip(born June 10, 1921, Corfu, Greece) Husband of Queen Elizabeth II of Britain. Son of Prince Andrew of Greece and Denmark (1882–1944) and Princess Alice (1885–1969), a great-granddaughter of Queen Victoria, he was reared in Britain. In World War II he served in combat with the Royal Navy. In 1947 he became a British subject, taking his mother's surname, Mountbatten, and renouncing his right to the Greek and Danish thrones. He married Princess Elizabeth in 1947 and continued on active service in the navy until her accession to the throne in 1952. Charles, prince of Wales, is their son.
From : www.biography.com