York is a cathedral city in North Yorkshire, England, with Roman origins, sited at the confluence of the rivers Ouse and Foss. It is the county town of Yorkshire. The city has many historic buildings and other structures, such as a minster, castle, and city walls. It is the largest settlement and the administrative centre of the wider City of York district. Through the title of Duke of York, it is the namesake of New York City.