Free-agent guard Marcus Thornton has agreed to a contract with the Washington Wizards for the remainder of the season, league sources told The Vertical.

The Wizards had been in discussions with Thornton for the past several days and cleared a roster spot by waiving guard Gary Neal on Wednesday.

Washington was seeking additional wing shooting, and Thornton is expected to fill a reserve shooting guard role for the Wizards (30-33). The Wizards are 2 ½ games behind the Chicago Bulls for the eighth seed in the Eastern Conference.

Thornton, 28, was waived by the Houston Rockets on Feb. 26 after a three-team trade that sent him to the Detroit Pistons was rescinded. In 47 games for Houston this season, Thornton averaged 10 points and 2.4 rebounds per game.

A 6-foot-4 sharpshooter out of LSU, Thornton has played for New Orleans, Sacramento, Brooklyn, Boston, Phoenix and Houston in seven NBA seasons. He has averaged 12.4 points and has shot 35.9 percent from 3-point range in his career.

More NBA coverage from The Vertical: