Both Harrogate and Ripon have been included on a list of the UK's best places to raise a family.
The Daily Mail has reviewed data and statistics provided by property experts, including crime rates, schools and local amenities.
And both Harrogate and Ripon have been named alongside the likes of York, Cambridge and St Albans as some of the best places for children to grow up in.
Speaking about Harrogate, The Daily Mail said:
“Known for its beautiful historic buildings, lush gardens, and natural springs, Harrogate is also very family friendly thanks to good schools and the fact it was named the safest place in the UK to raise children, according to research comparing 200 major UK cities and towns.”
The article also highlights Western Primary School and Harrogate Grammar School, which have been rated ‘outstanding’ by Ofsted.
The average house price is cited at £404,553.
Of Ripon, the Daily Mail said:
“Nestled between the Yorkshire Dales and the North York Moors, this tiny cathedral city consistently ranks as one of the UK's top ten safest cities.
“The city has a wealth of highly regarded primary and secondary schools, including Ripon Grammar School and Outwood Academy Ripon, which is rated ‘outstanding’ by Ofsted.”
The average house price is cited at £333,130.
York is the only other place in Yorkshire that is mentioned.

Harrogate choir named national finalists for third consecutive year
Chairman admits 'deep disappointment' but urges faith in Harrogate Town
Winter Olympics: Harrogate man captains Trinidad and Tobago bobsleigh team
Michelin-starred chef Marco Pierre White visits Harrogate restaurant
Reasons behind the inevitability of above-inflation council tax rise at North Yorkshire Council
Police search for Ripon glasses thief
Harrogate bus firm celebrates one year since launch of all-electric fleet
Community invited to give feedback on plans for new homes in Scotton
Tributes paid to former Ripon cricketer Peter Squires
Ripon's festive tractor run raises £7,000 for charity
Almost 300 Harrogate NHS patients faced two-month wait for cancer treatment last year
Gaming festival returns to Harrogate for third year
Record number of Ripon pupils receive Oxbridge offers
Where are the best places for afternoon tea in Harrogate?
Which venues have signed up for Harrogate Restaurant Week?
Harrogate powerlifter selected to represent Team England at Commonwealth Games
Pannal girls' teams enjoy special matchday experience at Manchester City
PR skills in high demand as Harrogate small business event sells out
Inspirational Ripon woman nominated for Yorkshire Choice Award following fundraising feat


