League One side Oldham Athletic have signed former Swansea goalkeeper David Cornell on a one-year contract, with the option of a second year.
The 24-year-old came through the youth system at Swansea but was released at the end of last season, having made only one first-team appearance.
Oldham manager Darren Kelly told the club website: "He has come in and done well on trial.
"He will be good competition for Joel Coleman."
Find all the latest football transfers on our dedicated page.