We have the following:
The formula for compound interest is as follows

A is amount (current balance 400), P is the principal ( deposit initially), r is the rate (0.07) and is the time ( 7 years)
replacing:

Which means that the initial deposit was $ 249.09