AdrianDennis/AFP/Getty Images
Britain's Prince William learned to fly in the Royal Air Force this year as part of military training. He also spent time in the army and navy.

Britain's Prince William plans to become a full-time search-and-rescue pilot in the Royal Air Force, royal officials said Monday.

The prince's Clarence House office said William would begin an 18-month training program in January.

William, 26, learned to fly earlier this year during a stint with the air force. He also has served for several months with the Royal Navy and is an officer in the British army.

Clarence House said the second in line to the throne would transfer from the army to the air force, where he will hold the rank of flying officer. If he completes his course, he will fly Sea King helicopters with one of the RAF's six search-and-rescue teams.

"The time I spent with the RAF earlier this year made me realize how much I love flying," said William, who was criticized for landing an air force helicopter on his girlfriend Kate Middleton's lawn during training, and for using another chopper to fly to a bachelor party on the Isle of Wight.

"Joining search and rescue is a perfect opportunity for me to serve in the forces operationally, while contributing to a vital part of the country's emergency services," he said.