William completed his final shift as a Royal Air Force search and rescue pilot on Tuesday, a release from Clarence House said.
"He will expand his work in the field of conservation, particularly in respect of endangered species," a palace spokesman said. "The duke will continue to work with his charities on issues relating to children and young people, veterans and serving members of the armed forces."
William, his wife Kate and their infant son George are expected to move from their home in Anglesey, Wales -- where William was stationed for three years -- to Kensington Palace within the next few weeks, the release said.
Man spent 15 hours in jail for plugging electric car into an outlet at a school
Toddler uninjured after being knocked over by Obama family dog