I had stayed for five weeks there before I came back home. <br/><br/>I had stayed for five weeks there before I have come back home.<br/><br/>At the moment when I said them, I was at home. Which sentence is correct ?