Carlos Vela scored from a free kick for his first free kick goal in his five seasons in La Liga.
The Mexican striker, made a dramatic exit, scoring from a free kick just outside the box, then being substituted off the pitch the next minute.
This win ended a six match winless streak for Sociedad in Spain.
Just minutes after kick-off, Real Sociedad thought they had an early lead, when Carlos Vela slotted the ball in from close range, it was pulled back for offside.
Carlos Vela's "Pirlo-esque" curling free-kick to the top corner put a stamp on a 3-0 victory for the home team over Levante. With the victory, Sociedad moves to the spot 11 on the La Liga table, staying in the outside of Europa League contention. Vela's goal came just four minutes before the final whistle.
Early in the second half, Levante pushed for an equalizer to no avail, with a header from midfielder Mikel Bergara 51 minutes giving Real Sociedad a 2-0 lead.
"Knowing that Europe is very far away, our goal is to finish the season on a happy note," Bergara said to USA Today after scoring his first goal at Anoeta Stadium in his eighth season with the Basque club.
Real Sociedad manager David Moyes, was delighted with the victory and hopes his side can finish the season strongly and push themselves into the top half of the table as he completes his first season in Spain.
The win came just hours after Moyes discussed his future in Spain with Sport.
"There will always be people who will try to say those things; obviously there are clubs in England who would be interested but my job and my plans haven't changed. I've always said that."Real Sociedad has come up with some big wins over the last year, with wins over FC Barcelona and Real Madrid, the two premiere teams in Spain.
The loss leaves Levante in place 15 on the table, just six points out of the relegation zone, with just three matches remaining this season.
The first goal of the game, came after 13 minutes, when Icelandic striker Alfred Finnbogason tapped home an easy shot. Finnbogason gave Levante throughout the game, impressing Moyes.
This goal was Vela's first since a knee injury sidelined him in late January. This injury kept him out of action until March 22, a 3-1 victory over Córdoba. The injury also sidelined Vela for two Mexican victorious friendlies against Ecuador and Paraguay.
Carlos Vela now has eight goals on the season.
[Image Source: David Ramos/Getty Images]