In the 12th century, the Normans conquered much of County Antrim and County Down after having taken over England the century before. They created the core of the Earldom of Ulster. During this campaign, they built great mounds of earth topped by wooden towers, referred to as "mottes", as defensive structures. The Harryville (Ulster-Scots: "Herrieville") area's motte-and-bailey is one of the best examples of this type of fortification in Northern Ireland. Some sources, however, credit the Uí Fhloinn with building the mid-Antrim mottes and baileys in imitation of the invaders; the Uí Fhloinn defeated and repelled the Earl of Ulster, John de Courcy, in 1177 and 1178.