The settlement at Old Windsor largely transferred to New Windsor during the 12th century, although substantial planning and setting out of the new town (including the parish church, marketplace, bridge, hermitage and leper hospital) did not take place until c. 1170, under Henry II, following the civil war of Stephen's reign. At about the same time, the castle was rebuilt in stone. Windsor Bridge is the earliest bridge on the Thames between Staines and Reading, built at a time when bridge building was rare; it was first documented in 1191, but had probably been built, according to the Pipe rolls, in 1173. It played an important part in the national road system, linking London with Reading and Winchester, but also, by diverting traffic into the new town, it underpinned the success of its fledgling economy.