It was almost as if David Moyes had borrowed some of the magic of the FA Cup on Sunday night at Anoeta as his Real Sociedad played at being giant-killers and took the scalp of Barcelona. On one of the greatest nights of his managerial career Moyes masterminded a 1-0 win with the side he took over last November seeing off Lionel Messi, Luis Suarez and Neymar in style. He was given a helping hand by opposing coach Luis Enrique who bizarrely left Messi out of his starting line-up – perhaps the Barca coach was also paying homage to the world’s oldest club cup competition by resting his most important players. VIDEO Scroll down for all the Big Match Stats as David Moyes delivers a  giant killing . Luis Suarez (left) looks on as Real Sociedad players celebrate taking an early lead as La Liga resumed after the winter break . David Moyes' side had previously beaten Atletico Madrid and Real Madrid at the Anoeta Stadium this season . Andres Iniesta (centre) retreats back to the centre circle as Barcelona missed the chance to move top of La Liga . Real Sociedad (4-2-3-1): Rulli; C. Martinez, Ansotegi, I. Martinez, De La Bella; Markel, Granero; Xabi Prieto, Canales (Yuri 90+3), Castro (Finnbogason 66); Vela (Ruben Pardo 90) Substitutes not used: Zubikarai, Gaztanaga, Elustondo, Pablo Hervias . Scorer : Alba (own goal) 2 . Booked: Vela, Martinez, Granero, Markel . Barcelona (4-3-3): Bravo; Montoya, Mascherano, Mathieu (Alves 70), Alba; Xavi, Busquets, Iniesta; Munir (Messi 45), Suarez, Pedro (Neymar 58) Substitutes not used: Stegen, Pique, Rakitic, Rafinha . Booked: Mathieu, Alves, Neymar . That strange team sheet which also included Neymar, Gerard Pique, Dani Alves and Ivan Rakitic on the bench was the first shock of the night, the second came after just one minute when a header from Jordi Alba went flying past his own keeper to give Real Sociedad the lead. Barca came into the game having picked up just one of a possible 12 points in their last four visits to Anoeta. They were facing a Real Sociedad side who had already beaten Real Madrid and Atletico Madrid at home. Luis Enrique’s side now needed a goal but with top scorer in the league Messi (15 goals) on the bench and Neymar, Barca's second highest league scorer with 1, alongside him that was always going to be more difficult. This was not the way for Barcelona to take advantage of Real Madrid having lost to Valencia in the earlier Sunday game giving them the chance to go top. Luis Suarez was looking for his second league goal of the season and might have fancied his chances from a free-kick on 20 minutes but Xavi took the set-piece and sent it over the bar. Suarez then charged through on goal but played in Pedro who squandered the chance. The former Liverpool striker cut a frustrated figure in an attack between Pedro and youngster Munir El Haddadi. It wasn’t what he signed up for when he made his £75million pound switch in the summer. Suarez played in Pedro again but this time the winger crossed and when the ball hit Inigo Martinez on the arm Suarez appealed but the referee waved away the calls for a penalty. Luis Enrique controversially left out the likes of Lionel Messi (second left), Gerard Pique and Dani Alves (right) from the Barca starting XI . Lionel Messi watches the action from the Barcelona bench after surprisingly being left out by coach Enrique . Barcelona defender Jordi Alba (right) heads into his own goal to give Real Sociedad the lead . Real Sociedad's Xabier Prieto (right) attempts to claim the goal after Alba's header on two minutes . Real Sociedad's players celebrate after taking an unexpectedly early lead in San Sebastian . Real Sociedad's Prieto (centre) and Sergio Canales (right) leap for joy as a dejected Suarez tries to appeal . Real Sociedad almost made the most of the stroke of good fortune going down the other end and nearly doubling their lead. Full-back Alberto de la Bella admitted recently that Moyes has been encouraging him to overlap a-la Leighton Baines and the defender flew down the left and crossed for Xabi Prieto who just failed to connect under pressure from Jordi Alba. It was the perfect chance to make it 2-0 but there was another scare for Barça moments after. Sergio Canales pulled off a clever turn that left Martin Montoya on the seat of his shorts and the former Real Madrid man shot at Claudio Bravo only for the one-time Real Sociedad keeper to palm the effort away. Vela then charged through and was booked for diving, the former Arsenal man had gone down under a challenge from Javier Mascherano. With two minutes left of the first half and Messi already warming up Barca had their first shot on target but it came from distance from Pedro and was comfortably saved by Geronimo Rulli. Real Sociedad supporters whistled match official Carlos del Cerro Grande off the pitch at half time after he booked Inigo Martinez in injury time for handling as he stopped Suarez going past him. The ball did not appear to have touched the defender as he went to ground. All Barça eyes were on Messi ready to make his delayed entrance at the start of the second half. He replaced Munir on 45 minutes and Neymar replaced Pedro on the hour – once the Brazilian had removed his necklace. He was perhaps not expecting to come on having had the least rest during the midwinter break. Despite the changes it was Real Sociedad who looked like scoring next with Prieto heading just over after Bravo had failed to come for a cross. Messi tried to bundle his way through at the other end as the visitors did their best to get a foothold back in the game. He took the next sent piece but came no closer than Xavi had in the first half. Alves was thrown on too and with Barca switching to three at the back Real Sociedad needed some heroic defending to see out the second half but with Inigo Martinez superbly marshaling the troops Moyes men did exactly that. Suarez had the best chance but was brilliantly denied by Rulli. After so many headlines about Moyes’ future at Manchester United, on Monday morning the inquests will all be for his rival Enrique. The Spaniard’s job is in doubt. Moyes has won his first big game in Spain and is settling in very nicely indeed. 12 months ago, David Moyes was reeling after Manchester United were dumped out of the FA Cup at the first hurdle by Swansea City. A last-minute goal by Wilfried Bony secured a 2-1 win at Old Trafford after Javier Hernandez equalised a Wayne Routledge opener. Former Liverpool striker  Suarez (left) competes with Real Sociedad's Alberto de la Bella as Barcelona chase the game . Barcelona forward Pedro reacts after missing an opportunity to bring the visitors level . Barcelona enforcer Javier Mascherano (left) holds off Canales of Real Sociedad during the first half . Martin Montoya (left) of Barcelona competes in an aerial duel with Canales (centre) and Esteban Granero . Uruguay forward Suarez races away from Canales as Barcelona chase the game in the second half . Moyes screams instructions from the sidelines as Real Sociedad fight to maintain their slender lead . Messi was introduced in the second half along with Neymar as Barcelona tried to change the game . Brazilian superstar Neymar (right) appeared slightly rusty after coming on as a second half substitute . Suarez reacts to a missed opportunity in his own typical style as Barcelona push forward in the closing stages . Real Sociedad's Martinez (centre) blocks a shot from Messi as the home side hang on for their dear lives . Barcelona coach Enrique can expect criticism after his decision to leave out star players backfired .
Barcelona missed the chance to take top spot in La Liga after Real Madrid's 2-1 defeat to Valencia earlier in the day .
Luis Enrique controversially left out star players such as Lionel Messi, Neymar and Gerard Pique .
David Moyes' side had previously beaten Real Madrid and Atletico Madrid at the Anoeta Stadium this season .
Barca defender Jordi Alba headed into his own goal to give the hosts the lead after only two minutes .
It was almost as if David Moyes had borrowed some of the magic of the FA Cup on Sunday night at Anoeta as his Real Sociedad played at being giant-killers and took the scalp of Barcelona. On one of the greatest nights of his managerial career Moyes masterminded a 1-0 win with the side he took over last November seeing off Lionel Messi, Luis Suarez and Neymar in style. He was given a helping hand by opposing coach Luis Enrique who bizarrely left Messi out of his starting line-up – perhaps the Barca coach was also paying homage to the world’s oldest club cup competition by resting his most important players. VIDEO Scroll down for all the Big Match Stats as David Moyes delivers a  giant killing . Luis Suarez (left) looks on as Real Sociedad players celebrate taking an early lead as La Liga resumed after the winter break . David Moyes' side had previously beaten Atletico Madrid and Real Madrid at the Anoeta Stadium this season . Andres Iniesta (centre) retreats back to the centre circle as Barcelona missed the chance to move top of La Liga . Real Sociedad (4-2-3-1): Rulli; C. Martinez, Ansotegi, I. Martinez, De La Bella; Markel, Granero; Xabi Prieto, Canales (Yuri 90+3), Castro (Finnbogason 66); Vela (Ruben Pardo 90) Substitutes not used: Zubikarai, Gaztanaga, Elustondo, Pablo Hervias . Scorer : Alba (own goal) 2 . Booked: Vela, Martinez, Granero, Markel . Barcelona (4-3-3): Bravo; Montoya, Mascherano, Mathieu (Alves 70), Alba; Xavi, Busquets, Iniesta; Munir (Messi 45), Suarez, Pedro (Neymar 58) Substitutes not used: Stegen, Pique, Rakitic, Rafinha . Booked: Mathieu, Alves, Neymar . That strange team sheet which also included Neymar, Gerard Pique, Dani Alves and Ivan Rakitic on the bench was the first shock of the night, the second came after just one minute when a header from Jordi Alba went flying past his own keeper to give Real Sociedad the lead. Barca came into the game having picked up just one of a possible 12 points in their last four visits to Anoeta. They were facing a Real Sociedad side who had already beaten Real Madrid and Atletico Madrid at home. Luis Enrique’s side now needed a goal but with top scorer in the league Messi (15 goals) on the bench and Neymar, Barca's second highest league scorer with 1, alongside him that was always going to be more difficult. This was not the way for Barcelona to take advantage of Real Madrid having lost to Valencia in the earlier Sunday game giving them the chance to go top. Luis Suarez was looking for his second league goal of the season and might have fancied his chances from a free-kick on 20 minutes but Xavi took the set-piece and sent it over the bar. Suarez then charged through on goal but played in Pedro who squandered the chance. The former Liverpool striker cut a frustrated figure in an attack between Pedro and youngster Munir El Haddadi. It wasn’t what he signed up for when he made his £75million pound switch in the summer. Suarez played in Pedro again but this time the winger crossed and when the ball hit Inigo Martinez on the arm Suarez appealed but the referee waved away the calls for a penalty. Luis Enrique controversially left out the likes of Lionel Messi (second left), Gerard Pique and Dani Alves (right) from the Barca starting XI . Lionel Messi watches the action from the Barcelona bench after surprisingly being left out by coach Enrique . Barcelona defender Jordi Alba (right) heads into his own goal to give Real Sociedad the lead . Real Sociedad's Xabier Prieto (right) attempts to claim the goal after Alba's header on two minutes . Real Sociedad's players celebrate after taking an unexpectedly early lead in San Sebastian . Real Sociedad's Prieto (centre) and Sergio Canales (right) leap for joy as a dejected Suarez tries to appeal . Real Sociedad almost made the most of the stroke of good fortune going down the other end and nearly doubling their lead. Full-back Alberto de la Bella admitted recently that Moyes has been encouraging him to overlap a-la Leighton Baines and the defender flew down the left and crossed for Xabi Prieto who just failed to connect under pressure from Jordi Alba. It was the perfect chance to make it 2-0 but there was another scare for Barça moments after. Sergio Canales pulled off a clever turn that left Martin Montoya on the seat of his shorts and the former Real Madrid man shot at Claudio Bravo only for the one-time Real Sociedad keeper to palm the effort away. Vela then charged through and was booked for diving, the former Arsenal man had gone down under a challenge from Javier Mascherano. With two minutes left of the first half and Messi already warming up Barca had their first shot on target but it came from distance from Pedro and was comfortably saved by Geronimo Rulli. Real Sociedad supporters whistled match official Carlos del Cerro Grande off the pitch at half time after he booked Inigo Martinez in injury time for handling as he stopped Suarez going past him. The ball did not appear to have touched the defender as he went to ground. All Barça eyes were on Messi ready to make his delayed entrance at the start of the second half. He replaced Munir on 45 minutes and Neymar replaced Pedro on the hour – once the Brazilian had removed his necklace. He was perhaps not expecting to come on having had the least rest during the midwinter break. Despite the changes it was Real Sociedad who looked like scoring next with Prieto heading just over after Bravo had failed to come for a cross. Messi tried to bundle his way through at the other end as the visitors did their best to get a foothold back in the game. He took the next sent piece but came no closer than Xavi had in the first half. Alves was thrown on too and with Barca switching to three at the back Real Sociedad needed some heroic defending to see out the second half but with Inigo Martinez superbly marshaling the troops Moyes men did exactly that. Suarez had the best chance but was brilliantly denied by Rulli. After so many headlines about Moyes’ future at Manchester United, on Monday morning the inquests will all be for his rival Enrique. The Spaniard’s job is in doubt. Moyes has won his first big game in Spain and is settling in very nicely indeed. 12 months ago, David Moyes was reeling after Manchester United were dumped out of the FA Cup at the first hurdle by Swansea City. A last-minute goal by Wilfried Bony secured a 2-1 win at Old Trafford after Javier Hernandez equalised a Wayne Routledge opener. Former Liverpool striker  Suarez (left) competes with Real Sociedad's Alberto de la Bella as Barcelona chase the game . Barcelona forward Pedro reacts after missing an opportunity to bring the visitors level . Barcelona enforcer Javier Mascherano (left) holds off Canales of Real Sociedad during the first half . Martin Montoya (left) of Barcelona competes in an aerial duel with Canales (centre) and Esteban Granero . Uruguay forward Suarez races away from Canales as Barcelona chase the game in the second half . Moyes screams instructions from the sidelines as Real Sociedad fight to maintain their slender lead . Messi was introduced in the second half along with Neymar as Barcelona tried to change the game . Brazilian superstar Neymar (right) appeared slightly rusty after coming on as a second half substitute . Suarez reacts to a missed opportunity in his own typical style as Barcelona push forward in the closing stages . Real Sociedad's Martinez (centre) blocks a shot from Messi as the home side hang on for their dear lives . Barcelona coach Enrique can expect criticism after his decision to leave out star players backfired .
resumed after the winter break . David Moyes' side had previously beaten Atletico Madrid and Real Madrid at the Anoeta Stadium this season . centre circle as Barcelona missed the chance to move top of La Liga . Real Sociedad (4-2-3-1): Enrique controversially left out the likes of Lionel Messi (second left), Gerard Pique and Dani Enrique . Barcelona defender Jordi Alba (right) heads into his own goal to give Real Sociedad the two minutes . Real Sociedad's players celebrate