In accordance with (something)

In agreement with something, following the terms or requirements of something.

In accordance with the wishes of my grandfather we did not sell the family farm.