I have this sentence to translate:
Your sister has promised to visit me.
I tried with:
Deine Schwester hat mich zu besuchen versprochen,
but I feel it as being wrong. I would also say:
Deine Schwester hat versprochen mich zu besuchen.
My problem is where to place the objective clause here. Can it stay inside the principal clause or not? Is any of these two correct, and why?