Samuele Longo struck his first goal for Espanyol - and was promptly sent off.
The on-loan Inter Milan striker put Espanyol in front on 80 minutes, but was sent off after receiving a second yellow card for his celebrations.
The match finished 3-3 with Athletic Bilbao.