The 2010–11 Dallas Mavericks season was the 31st season of the franchise in the National Basketball Association (NBA).
 The Mavericks won the NBA Championship after defeating the Miami Heat in 6 games in the 2011 NBA Finals.
 The Mavs playoff run came with a 6-game first round series against the Portland Trail Blazers, a series in which the Mavericks blew a 23-point lead in Game 4, but still won the series.
 In the conference semi-finals, the Mavericks run was motivated with a sweep of the champions of the previous two seasons, the Los Angeles Lakers.
 The series against the Lakers also became the birth of the Mavericks Royal Blue-Out games in the AAC, with almost all fans wearing T-shirts that read "The Time is Now".
 In the Western Conference Finals against the Oklahoma City Thunder, the Mavericks won the last 3 games winning by 4th quarter comebacks, to win their second Western Conference Championship, and a trip to the NBA Finals for the first time since 2006, with a rematch against the Heat.
 Following a disappointing Game 1, the Mavericks pulled the biggest comeback in NBA Finals history in Game 2 to even the series at 1 game each.
 After a loss in Game 3, the Mavericks won the last two games in Dallas to take a 3–2 series lead heading to Game 6 in Miami.
 The Mavericks won their first NBA Championship in Game 6 to clinch the first major sports championship in the Dallas-Fort Worth area since the Dallas Stars in 1999, and the first title in Mavericks franchise history.
 The Mavericks are the third team to win an NBA title in the state of Texas, joining the Houston Rockets and San Antonio Spurs.
 The Mavericks are also the third team to win a major sports championship in the Dallas-Fort Worth area, joining the Dallas Cowboys' five Super Bowl titles and the Dallas Stars' only Stanley Cup, leaving the Texas Rangers as the only team to not win a major sports title in the area, as they have not won the World Series.
 The Mavericks championship parade was held on June 16, 2011 in downtown Dallas.
The 2012 NBA Finals was the championship series of the 2011–12 season of the National Basketball Association (NBA), and the conclusion of the season's playoffs.
 The Eastern Conference champion Miami Heat defeated the Western Conference champion Oklahoma City Thunder 4 games to 1 to win their second NBA title.
 Heat forward LeBron James was named the Finals MVP.
The Miami Heat are a professional basketball team based in Miami, Florida that competes in the National Basketball Association (NBA).
 The Heat were formed in 1988 as an expansion franchise along with the Charlotte Hornets; as of 2017, they are the only new franchise of the past generation to win any NBA titles.
 The Heat and the Orlando Magic are the two NBA franchises that are located in the state of Florida.
 Since entering the league, Miami has fielded squads that have made the playoffs 19 out of 28 seasons, captured 12 division titles, five conference titles and three NBA Championships.
 They defeated the Dallas Mavericks in the 2006 NBA Finals, the Oklahoma City Thunder in the 2012 NBA Finals, and the San Antonio Spurs in the 2013 NBA Finals.
The 2014–15 Miami Heat season is the 27th season of the franchise in the National Basketball Association (NBA).
 The Heat entered the 2014–15 season as the defending Eastern Conference champions.
 Although they remained in playoff contention until early April, The Heat were eliminated from playoff contention after their game 80 loss to the Toronto Raptors.
 The Heat failed to make the playoffs for the first time since 2008 after a four-year trip to the Finals, winning two in 2012 and 2013, and first team to fail to make the playoffs after making it to the NBA Finals from the previous season since the 2004–05 Los Angeles Lakers.
The 2011–12 Oklahoma City Thunder season was the 4th season of the franchise's existence in Oklahoma City as a member of the National Basketball Association (NBA).
 The Thunder continued to build on recent success in previous years by making the NBA Playoffs, defeating and sweeping the defending NBA champions, the Dallas Mavericks in the First Round, the Los Angeles Lakers in the Semifinals, and finally, the San Antonio Spurs in the Western Conference Finals to advance to the NBA Finals.
 Despite winning Game 1 in the NBA Finals, the Thunder would then go on to lose the next four games and the NBA Finals against the Miami Heat.
The 2011–12 NBA season, the 66th season of the National Basketball Association (NBA), began with the signing of a new collective bargaining agreement (CBA) between the owners of the 30 NBA teams and the NBA's players.
 The previous CBA, which was ratified in 2005, expired at 12:01 AM EDT on July 1, 2011, resulting in a lockout.
 With the new deal in place, the regular season was shortened from the normal 82 games per team to 66, because of nearly two months of inactivity.
 The season began on December 25, 2011, and ended on April 26, 2012.
 The playoffs started on April 28 and ended on June 21 when the Miami Heat defeated the Oklahoma City Thunder in Game 5 of their series, 121–106, winning the Finals, 4–1 and to capture the franchise's second NBA title.
 LeBron James was named both the Regular Season MVP and the NBA Finals MVP.
The 2012–13 Oklahoma City Thunder season was the 5th season of the franchise in Oklahoma City and the 47th in the National Basketball Association (NBA).
 After their trip to the NBA Finals, despite losing the Finals to the Miami Heat in five games, the Thunder improved on last season's output, winning 60 games, earning them the top seed in the Western Conference.
 The first round pitted the Thunder against the eight-seeded Houston Rockets, led by James Harden, a former Thunder player.
 Despite a season-ending injury to Russell Westbrook in game 2, the Thunder still managed to breeze past the Rockets in six games, to advance to the next round, where they faced the Memphis Grizzlies.
 The absence of Westbrook, however, affected the Thunder and they would end up losing to the Grizzlies in five games.
The 2012–13 Miami Heat season was the franchise's 25th season in the National Basketball Association (NBA).
 They came into the season as the defending NBA champions, back-to-back Eastern Conference champions, the third season playing with the "Big Three" of Dwyane Wade, LeBron James, and Chris Bosh, and the fifth season under head coach Erik Spoelstra.
 During the season, the Heat embarked on a 27-game winning streak, which still ranks as the 3rd longest winning streak in a single season in NBA history.
 On June 3, 2013, the Heat defeated the Indiana Pacers in game seven of the Eastern Conference Finals to become the first team since the Chicago Bulls in 1998 to Three-peat as Eastern Conference champions.
 The Heat then defeated the San Antonio Spurs in an NBA Finals that went the full seven games, handing the Spurs their very first loss in the NBA Finals, and with this victory in the NBA Finals, it echoed the 1997-98 Bulls as they had also been the last Eastern team to repeat as NBA champions.
The 2012 NBA Playoffs was the postseason tournament of the National Basketball Association's 2011–12 season.
 The tournament concluded with the Eastern Conference champion Miami Heat defeating the Western Conference champion Oklahoma City Thunder 4 games to 1 in the NBA Finals.
 LeBron James was named NBA Finals MVP.
The 2013–14 San Antonio Spurs season was the 47th season of the franchise, their 41st in San Antonio and the 38th in the National Basketball Association (NBA).
 They entered the season with an NBA-record ten international players.
 This season also marked the first time that the Spurs have made back-to-back Finals appearances, also against the Miami Heat, whom they lost against in last year's NBA Finals in seven games and suffered their first loss in the NBA Finals.
 Unlike the previous year, the Spurs avenged their NBA Finals loss and became NBA Champions after defeating Miami in five games, winning their fifth NBA Championship.
 The Spurs outscored the Heat in the series by the largest per game average point differential (14.0) in Finals history.
 San Antonio's Kawhi Leonard was named the Finals Most Valuable Player (MVP).

Question: What year did the Miami Heat beat the Oklahoma City Thunder in the NBA Finals?
Answer: 2012