Former Redskins quarterback John Beck has agreed to terms on a deal with the Houston Texans, a person with knowledge of the situation confirmed.

The Houston Chronicle first reported the news Wednesday evening. Beck spent the last two seasons with the Redskins before being released by the team on April 28th.

The Redskins released Beck after drafting Kirk Cousins in the fourth round of the draft. Cousins and Grossman are competing for backup duties behind Robert Griffin III, whom Washington drafted with the second overall pick of the draft.

Beck made three starts for Washington last season, losing all three. He competed for the starting job in training camp, but lost the competition to Rex Grossman.

Grossman was benched after a four-interception performance in Week 5 against Philadelphia. But Beck and the Redskins offense struggled mightily, and Grossman then reclaimed his job.