In the following season, the club went a stage further in both domestic cup competitions and in the Champions League, where it fell to Málaga in the last-16 round. In the 2012–13 Primeira Liga, Porto reduced the distance to leaders Benfica to two points, before hosting them in the penultimate matchday. In a dramatic turn of events, Porto won with a goal in stoppage time and moved to the top of the league table. An away victory in the last game confirmed the "Tri" and Porto's 27th league title – the second without defeats.