How did Einstein use the conclusions of special relativity to reach the equivalence principle (using the Elevator thought experiment)?

Could someone please explain how Einstein used the Elevator thought experiment and the principles of special relativity to conclude that uniform accelerates creates uniform gravitational field (equivalence principle)?