Match ends, Barcelona 2, Deportivo de La Coruña 2.
Barcelona captain Xavi left the pitch to a standing ovation as his final La Liga game ended in a draw against Deportivo de La Coruna.
The 35-year-old midfielder, who has spent 24 years with the club, was withdrawn with five minutes left and saluted by the whole of the Nou Camp.
Lionel Messi's brace had put Barca 2-0 up before Deportivo fought back.
Lucas and Diogo Salomao earned a point for Deportivo who escaped relegation on head-to-head record with Eibar.
Eibar beat already relegated Cordoba but joined them in slipping into the Segunda Division.
Almeria were also relegated after losing to Valencia, who sealed a fourth Champions League spot behind third-placed Atletico Madrid.
At the Nou Camp, Barcelona's players wore special shirts to honour Xavi after he announced he will leave the Spanish champions at the end of the season to join Qatari side Al Sadd.
His final bow at the Nou Camp is expected to come in the Copa del Rey final against Athletic Bilbao next weekend while his last appearance in a Barcelona shirt is likely to be the Champions League final against Juventus in Berlin on 6 June.
"I am the happiest man in the world today and for the 17 seasons I have been here," Xavi told the crowd after fighting back tears.
"As the coach [Luis Enrique] has said this hasn't finished. We want two more titles and we want to be here with you all again in Barcelona on 7 June."
With the La Liga title already sewn up and both those two matches in mind, Enrique made nine changes to his starting line-up.
That meant ex-Arsenal defender Thomas Vermaelen featured for the first time since he joined last summer, having endured a difficult spell out through injury.
Barca took the lead in the fifth minute when Deportivo goalkeeper Fabricio parried the ball clear to Brazil midfielder Rafinha, who crossed for Messi at the back post and the Argentine headed in from close range.
The hosts had the ball in the net again before the break when Messi got on the end of the a sublime lofted pass from Neymar only for the referee to disallow it.
However, the same combination saw Barca increase their advantage with a clinical counter attack just before the hour mark.
The visitors pulled a goal back through winger Lucas, who curled the ball past goalkeeper Jordi Masip from the edge of the area.
And the Nou Camp was left stunned with 14 minutes left as Salomao equalised when he poked home after Haris Medunjanin's initial free-kick had been blocked by the Barcelona wall.
It did not really take the gloss off the day for Xavi, who lifted his eighth La Liga trophy for the Catalans after the full-time whistle.
Line-ups
Barcelona
Formation 4-3-3
- 25Masip
- 21Correia
- 15BartraSubstituted forMascheranoat 70'minutes
- 23VermaelenSubstituted forPereira dos Santosat 63'minutes
- 24MathieuBooked at 75mins
- 12Rafinha
- 20Roberto Carnicer
- 6HernándezSubstituted forIniestaat 86'minutes
- 10Messi
- 7Pedro
- 11Neymar
Substitutes
- 2Montoya
- 8Iniesta
- 13Bravo
- 14Mascherano
- 16Pereira dos Santos
- 18Alba
- 31El Haddadi
Dep La Coruña
Formation 4-2-3-1
- 13Fabri
- 15Sanabria Ruiz
- 23Lopo
- 12da Silva Junior
- 3CanellaSubstituted forMedunjaninat 39'minutesBooked at 90mins
- 22Borges
- 4Bergantiños GarcíaBooked at 90mins
- 17Salomao
- 10Domínguez LamasBooked at 58minsSubstituted forRiera Magemat 62'minutes
- 19Cavaleiro
- 7PérezSubstituted forRodriguez Martinezat 86'minutes
Substitutes
- 1Lux
- 5Insúa
- 6Rodriguez Martinez
- 8Medunjanin
- 9Postiga
- 21Riera Magem
- 32Hélder Costa
- Referee:
- Carlos Clos Gómez
- Attendance:
- 93,743
Match Stats
- Possession
- Home78%
- Away22%
- Shots
- Home17
- Away10
- Shots on Target
- Home7
- Away2
- Corners
- Home4
- Away4
- Fouls
- Home6
- Away9
Live Text
Post update
Full Time
Second Half ends, Barcelona 2, Deportivo de La Coruña 2.
Booking
Haris Medunjanin (Deportivo de La Coruña) is shown the yellow card.
Post update
Attempt missed. Adriano (Barcelona) right footed shot from the left side of the box is high and wide to the right. Assisted by Pedro.
Post update
Lionel Messi (Barcelona) wins a free kick in the defensive half.
Post update
Foul by José Rodríguez (Deportivo de La Coruña).
Post update
Corner, Deportivo de La Coruña. Conceded by Neymar.
Booking
Álex Bergantiños (Deportivo de La Coruña) is shown the yellow card.
Post update
Foul by Andrés Iniesta (Barcelona).
Post update
Oriol Riera (Deportivo de La Coruña) wins a free kick on the right wing.
Post update
Foul by Adriano (Barcelona).
Post update
Oriol Riera (Deportivo de La Coruña) wins a free kick in the defensive half.
Post update
Attempt missed. Neymar (Barcelona) right footed shot from outside the box is high and wide to the right. Assisted by Adriano.
Substitution
Substitution, Deportivo de La Coruña. José Rodríguez replaces Lucas Pérez because of an injury.
Substitution
Substitution, Barcelona. Andrés Iniesta replaces Xavi.
Post update
Corner, Barcelona. Conceded by Haris Medunjanin.
Post update
Delay over. They are ready to continue.
Post update
Delay in match Lucas Pérez (Deportivo de La Coruña) because of an injury.
Goal!
Goal! Barcelona 2, Deportivo de La Coruña 2. Diogo Salomao (Deportivo de La Coruña) left footed shot from the centre of the box to the bottom right corner following a set piece situation.
Post update
Attempt blocked. Haris Medunjanin (Deportivo de La Coruña) left footed shot from the centre of the box is blocked.