A 24-year-old woman was allegedly subjected to a serious sexual assault in a basement area in Brunswick Street, Glasgow, in the early hours of Sunday.
Daly McSorley, 22, from the Hamilton area, appeared in private at Glasgow Sheriff Court yesterday in connection with the incident.
He was charged under section one of the 2009 Sexual Offences (Scotland) Act, the Crown Office confirmed.
McSorley made no plea or declaration and the case was continued for further examination.
McSorley was remanded in custody and is set to be brought before the court again next Thursday.