text: The historic shire or sheriffdom of Ayr was divided into three districts or bailieries which later made up the county of Ayrshire .
simplified: There used to be three districts called `` bailieries '' which were later put together to make up the shire of Ayrshire .