in a way that is suitable for a particular situation or that is based on what someone has done or said:
Katherine still considered him a child and treated him accordingly.
2 [sentence adverb]
as a result of something [= therefore]:
Some of the laws were contradictory. Accordingly, measures were taken to clarify them.