Barnsley have completed the signing of winger David Cotterill until the end of the season.
The Wales international, who left Swansea in January, is available to face Portsmouth on Saturday after receiving international clearance.
Barnsley manager Keith Hill told BBC Radio Sheffield: "He comes with a knowledge of the Championship. It's a no brainer."
The 24-year-old had a previous spell in South Yorkshire with Sheffield United.