When we want to describe something that happened "immediately prior" to another event, there are a variety of synonyms we can use to convey the same idea. Some options might include "just before," "right before," "preceding," "leading up to," or "in advance of." Each of these phrases emphasizes the close proximity or temporal relationship between two events, suggesting that one happened almost immediately before the other. Depending on the context and the tone of the writing, some synonyms may be more appropriate or effective than others, but all of them can help us convey the idea of a quick succession of events.