I had always assumed that in the beginning of the game, you are captured trying to cross the border into skyrim from cyrodiil. I recently started a new playthrough, though, and followed Ralof back to Riverwood. I stayed by him to listen to him speak. He mentions that the Imperial ambush that swept us all up happened just outside of Darkwater crossing, which is nowhere near any provincial border. However, the horse thief I was in the cart with did mention that I was caught while trying to cross the border. The only border I could see that he would be referencing is the Hold border between the Rift and Eastmarch. This border does seem to run very close to Darkwater crossing, so it would make sense, or am I missing something here?