Specialty has always been preferred in American English. From the late 1800s to the early 2000s, the variant speciality was preferred in British English, but specialty has since reclaimed its popularity and is now standard in all English.