the beauty of these creatures left such an impression on langdon that upon returning home , he researched them online , discovering the breed had once been a favorite of medieval kings for use as warhorses and had been brought back from the brink of extinction in recent years .