The correct option is A afterwards
An adverb of place is an adverb that changes or qualifies the meaning of a sentence by telling us where things happen. Options B, C, and D are not correct according to the sentence. 'Afterwards' is used to denote at a later time; after an event that has already been mentioned. Thus, option A is the correct answer.