Hundreds of people lined the streets as the Queen and the Duke of Edinburgh made their first visit to Wrexham and Flintshire for five years.
The Queen chose to wear navy and pale blue
The pair met schoolchildren, students and soldiers across the area, before travelling down to Cardiff Bay on Thursday to officially open the new term of the Welsh Assembly.
Politicians welcomed the trip, after the Queen failed to visit the two counties during her Golden Jubilee tour of Wales last year.
The Queen and Prince Philip arrived at Flint station on the Royal train on Wednesday morning.
The Queen, dressed in a navy coat and matching hat, and the Duke were greeted by the Vice Lord Lieutenant of Clwyd Michael Griffiths, and other civic dignitaries.
From there, the royal couple split up.
I can't believe I met the Queen on my first day back in the country
Lance Corporal Martyn Jones
The Queen opened the £8m Centre of Engineering Excellence at Deeside College, where youngsters are trained in engineering and the aerospace industry.
Student James Tootle, 19, said: "As one of the first students to benefit from this brand new building, it's hard to believe that we also get the opportunity to meet the Queen."
Meanwhile, the duke visited the Unilever factory at St David's Business Park in Ewloe.
The Queen also spent 20 minutes meeting local dignitaries and community leaders during a brief visit to Mold.
Hundreds of well-wishers had crowded on to the town's main street and hundreds of schoolchildren lined the approach to St Mary's Church in an attempt to catch a glimpse of the Queen and Prince Philip arriving.
Many waved Welsh and Union flags.
The Queen last visited the area five years ago
After being shown around the church, the Queen went on a walkabout, meeting many of those who had waited for hours in the sunshine to see her.
They also visited the area's barracks in Hightown, where the Queen took part in a tree planting ceremony outside the headquarters of the Royal Welch Fusiliers.
Lance Corporal Martyn Jones - who only returned from the Gulf on Wednesday - was one of the soldiers she met.
"The Queen asked me how long I'd been posted out there and
how it felt to be back
"I can't believe I met the Queen on my first day back in the country," he added.
The Queen and Prince Philip were also introduced to veterans.
The couple will be joined by Prince Charles for the official opening of the second term of the Welsh Assembly on Thursday.