Where is the battery on a 2001 BMW 325 xi?

The battery is located inside the trunk on the right hand side. You need to remove the cap first.