<Tr> <Th> Western Finals </Th> <Td> Lakers defeated Suns, 4--2 </Td> </Tr> <Tr> <Td_colspan="2"> <2009 NBA Finals 2011> </Td> </Tr> <P> The 2010 NBA Finals was the National Basketball Association (NBA)'s championship series for the 2009--10 season . The best - of - seven playoff was contested between the Western Conference champion Los Angeles Lakers (who were also defending NBA champions), and the Eastern Conference champion Boston Celtics . The Lakers defeated the Celtics, four games to three, to win the franchise's 16th NBA championship . The 64th edition of the championship series was played between June 3 and June 17, was broadcast on ABC, and was watched by an average of 18.1 million people . </P> <P> The Celtics earned their berth into the playoffs by winning the Atlantic Division . The Lakers won the Pacific Division to earn their berth . The Celtics reached the NBA Finals by defeating the Miami Heat in the best - of - seven Eastern Conference First Round, the Cleveland Cavaliers in the best - of - seven Eastern Conference Semifinals, and defending Eastern conference champion Orlando Magic in the best - of - seven Eastern Conference Finals . The Lakers reached the NBA Finals by defeating the Oklahoma City Thunder in the best - of - seven Western Conference First Round, the Utah Jazz in the best - of - seven Western Conference Semifinals, and the Phoenix Suns in the best - of - seven Western Conference Finals . The NBA Finals were scheduled in the Major League Baseball World Series 2--3--2 seven game format, with the Lakers possessing home - court advantage as a reward for finishing with better regular season record than the Celtics . </P>

Who won the nba championship in 2009 and 2010
find me the text answering this question