For reasons of security, he settled a few miles inland from what is now San Juan.
He settled a few miles inland for security reasons. 
As he didn't really care about security, he randomly chose a spot to settle down.