 In the summer of 2000 Pat Dolan signed Foley for St Patrick's Athletic.He initially played as a deep holding midfielder but soon settled as a centre half alongside fellow new signing Darragh Maguire.In 2001/2002 season Foley played a huge part in the St. Pats side that finished top of the table, only for the FAI to deduct points for player registration irregularities.