Free agent guard Jameer Nelson has finalized the paperwork on his two-year, $5.6 million contract with the Dallas Mavericks, a league source told RealGM.

Nelson will earn $2.73 million in the first season of his deal and $2.86 million in Year 2, which will be a player option.

Well over 10 NBA teams – including the Houston Rockets, Dallas Mavericks, Washington Wizards and Chicago Bulls – pursued Nelson in unrestricted free agency and remained interested as he neared an agreement with the Mavericks.

Nelson’s former star teammate, Dwight Howard, made multiple recruiting calls to Nelson about joining the Rockets, sources told RealGM. Howard and Nelson led the Orlando Magic to the NBA Finals in 2009.

Despite designs on his potential role with various franchises, Nelson balanced finances and a winning situation and decided upon Dallas earlier in the week. He’s expected to receive strong consideration for the Mavericks’ starting point guard position.

After six straight playoff appearances with the Magic, Nelson underwent two losing seasons in which the organization went 43-121. He averaged 12.1 points, seven assists and 3.4 rebounds in 68 games last season.

Nelson, 32, was the 20th overall draft pick in 2004 out of St. Joseph’s Univeristy. In 10 years with the Magic, Nelson averaged 12.6 points and 5.4 assists.

ESPN first reported Nelson’s deal with the Mavericks.