PRINCE William will be posted to RAF Valley if he successfully completes his RAF Search and Rescue pilot training.
The prince will join 22 Squadron after his military studies are complete in September and will fly as a fully operational co-pilot in a Sea King 3A helicopter.
A statement from St James' Palace said: "The Royal Air Force's decision to post Prince William to RAF Valley was made with the RAF's interest in mind, matching Prince William's skills to the challenges of flying sorties from RAF Valley.
"In particular, Search and Rescue operations from RAF Valley offer a wide variety of challenging flying over mountainous terrain and hostile seas supporting both military operations and civilian emergency services across the area."
All students on William's course were asked to submit two preferences for their posting and the second in line to the throne’s other choice was RAF Lossiemouth in Scotland.
A typical tour for a pilot on the Search and Rescue Force lasts from 30 to 36 months.
Flight Lieutenant Wales, 27, can expect to be promoted to captain and overall control of the helicopter in the coming years, but how quickly will depend on his ability and performance.
William could find himself flying rescue missions to Northern Ireland as RAF Valley in North Wales routinely responds to calls from Ulster.
Every year William carries out a number of royal engagements and he will continue to do so, fitting them around his new role.
A St James' Palace spokeswoman said: "Being a search and rescue pilot is an intensive full time job, however the roster system will allow Prince William limited time to continue to carry out engagements on behalf of his patronages and other organisations to which he is close."
The prince will work 24 hour shifts and will sleep on the base, like other members of his crew, when on duty.
He has recently moved into a rented property near RAF Valley and will use this when not working.