Examples of using "どうしてここへ来たのですか。" in a sentence and their spanish translations:
¿Para qué viniste aquí?
¿Por qué habéis venido aquí?