generated at
contrary to
〖文頭で〗Aに反して, Aとは違って
e.g. contrary to his expectations, he found the atmosphere exciting
e.g. the restrictions were not contrary to the public interest.