Real Sociedad signs Socceroos goalkeeper Mat Ryan

Buffon or Neuer? Mat Ryan plays 'You Have To Answer' (1:47)

Tim Cahill or Harry Kewell? AC/DC or INXS? Mat Ryan takes on ESPN FC's "You Have To Answer." (1:47)

Real Sociedad have signed Australia goalkeeper Mat Ryan from Premier League side Brighton and Hove Albion on a two-year deal, the Spanish club has confirmed.

After four years at Brighton, 29-year-old Ryan returns to La Liga, having had a three-year stint at Valencia from 2015-17.

Ryan's deal includes an option for a one-year extension, Real Sociedad said.

- Stream ESPN FC Daily on ESPN+ (U.S. only)
- ESPN+ viewer's guide: Bundesliga, La Liga, MLS, FA Cup and more

"I will work hard and I can't wait to get started playing for the team," Ryan, capped 61 times for Australia, said in a media release.

Ryan had one season remaining on his contract with Brighton.

He was loaned to Arsenal midway through last season after losing his spot to Brighton keeper Robert Sanchez.

A veteran of two World Cups, Ryan helped Australia notch an eighth successive victory in Asian qualifying for the 2022 tournament in Qatar with a clean sheet in the 1-0 win over Jordan last month.