THE Duke of York flew into Kirklees at the start of a three-day stay in Yorkshire.
And he was given a right royal welcome yesterday.
He started his visit at Batley Grammar School in Carlinghow Hill, where his helicopter landed on the playing fields.
The school band played for the prince, then pupils from the school's Army and Air Force Combined Cadets performed a royal salute.
The independent school has 380 pupils - including many from Huddersfield - whose ages range from three to 18.
Prince Andrew visited six classes, stopping to play with the nursery children and to take part in an A-level biology class.
Head teacher Brian Battye said the visit was an honour for the school.
"It was great to welcome Prince Andrew to our school," he said.
"He went around everyone and stopped for a chat. He related really well to the children, from the youngest to the older end.
"It was special for the pupils in the cadets to be able to perform a royal salute. That is something they will remember for a very long time."
The prince then moved on to Oakwell Hall Country Park at Birstall, where he was accompanied by Lord Lieutenant of West Yorkshire, Dr Ingrid Roscoe.
Members of the Batley and Birstall Sealed Knot Society, dressed as soldiers from the Earl of Manchester's Regiment of Foot, welcomed the prince at the gates of the hall.
He strolled around the newly- restored garden, which has been redesigned to mimic what it would have looked like in 1690.
Leeds primary school teacher Beatrice Myers, a committee member of the Friends of Oakwell, showed Prince Andrew round the gardens and explained about the work that had been done.
"This is a very special day for the garden restoration project and Oakwell Hall," she said. "Everyone has worked really hard to get the garden looking brilliant. So arranging this visit was, in a way, a thank you to all the volunteers."
A plaque was unveiled to commemorate the visit and the prince signed the visitors' book.
Later, he visited the award-winning Natural Wheat Bag Company in Emley. Last month it was announced the company had won the Queen's Award for Enterprise in the innovation category.
The company, founded eight years ago, produces grain-filled bags, which are heated and used for pain relief.
Managing director Sue Grant, who came up with the idea as a cure for her back pain, showed Prince Andrew round the factory and introduced him to the staff.