Accusative or Dative: If the verb expresses movement from one place to another, use the Accusative case. If not, use the Dative case. an (up against, on), auf (on top), hinter (behind), in, neben (next to), über (over), unter (under), vor (in front of), zwischen (between) Ich gehe in die Schule. Ich lerne in der Schule Deutsch.
(d) Genitive: aufgrund (due to), statt (instead of), trotz (despite of), während (during), wegen (due to, because of)