San Francisco 49ers veteran cornerback Eric Wright has retired from the NFL.

"After seven NFL seasons, I am announcing my retirement from professional football," Wright wrote in a statement. "Playing was the fulfillment of a childhood dream, but as I prepared for the coming season, I realized that I no longer had the same passion I once had for the game. The San Francisco 49ers have given me an amazing opportunity to play for the team I grew up rooting for, and I owe the York family, my coaches, and my teammates tremendous gratitude. I will be forever grateful to all of the franchises I was lucky enough to play for, and look forward to beginning the next phase of my life, and spending more time with my family."

Wright played sparingly last season and was signed to a one-year contract.

Wright wasn't regarded as a lock to make the team.

Follow me on Twitter: @RavensInsider

Aaron Wilson covers the Ravens for The Baltimore Sun