MIAMI (AFP) - Dirk Nowitzki and the Dallas Mavericks captured their first NBA championship Sunday with a 105-95 win over the Miami Heat -- the team that denied Dallas the title five years ago. Jason Terry scored 27 points and Nowitzki finished with 21 points and 11 rebounds as the Mavericks won the best-of-seven championship series four-games-to-two. Germany's Nowitzki was named Most Valuable Player of the finals, finally earning the NBA's biggest prize to secure his place among the NBA's greats. "We are world champions. It sounds unbelievable," said Nowitzki, who turns 33 next Sunday. "This feels amazing." Terry ran the clock down in the final minute then passed to a wide open Shawn Marion who chose not to shoot as the seconds clicked down. When the buzzer sounded Marion handed the ball to 17-year veteran guard Jason Kidd who tried twice before in the finals with the New Jersey Nets but failed to get a ring. "Everybody wrote us off but ourselves," Kidd said. "No matter how old you are we understood how to play the game. "I don't feel 38 mentally or physically. I feel great." Kidd and J.J. Barea combined to finish with 24 points and 13 assists for the Mavericks, who clinched their first NBA championship in their 31-year franchise history. LeBron James scored a team-high 21 points and Dwyane Wade finished with 17 points, eight rebounds and six assists for the Heat, who failed to send the series to a decisive seventh game despite having home court advantage.