In German, prepositions determine the case of nouns and pronouns they occur with. Most prepositions are always used with the same case (accusative, dative or genitive), but there is a group of common prepositions that are sometimes used with the accusative and sometimes with the dative. Here is an overview: