Photo: Golden State Warriors

Free agent guard Pat Spencer has agreed to a two-way NBA contract with the Phoenix Suns, according to ESPN.

Spencer spent the past three seasons with the Golden State Warriors, gradually earning a larger role in the rotation.

Last season, he averaged 7.2 points in 18.6 minutes per game while continuing his development at the NBA level.

The agreement was finalized between Suns officials and Spencer’s agents, Mark Bartelstein and Ross Aroyo of Priority Sports, bringing the versatile guard to Phoenix.