James was fortunate to have received a very good education at Deythur Grammar School, where the schoolmaster was generally
the chaplain of Holy Trinity Church, Penrhos
Deythur (now called Deuddwr), is about 2 miles from Llansantffraid-ym-Mechain)
The school was founded in 1690 by the Lord
of the manor "to instruct the children of the lord and tenants of the said manor or lordship in reading, writing, and in
Latin and Greek grammar, and all other learning usually taught in a grammar school". (Montgomeryshire Collections, xxviii,
It was extremely unusual for a rural community to boast such a facility.