Hi,
We use inversion after negative adverbials to add emphasis, especially in formal or literary styles.
Examples of negative adverbials include: never, rarely, hardly, seldom, no sooner, nowhere, and phrases like under no circumstances.
For example:
• Never have I seen such a beautiful place.
• Rarely do we get the chance to meet.
• No sooner had he arrived than it started raining.
Inversion means the auxiliary verb comes before the subject after these negative expressions.