The Baltimore Ravens needed a running back and appear to have found one in Ricky Williams, formerly of the Miami Dolphins.

Williams, 34, is expected to sign a two-year deal worth a maximum of $4 million, the Baltimore Sun reported. The Ravens needed a backup to Ray Rice when Willis McGahee signed with the Denver Broncos after being released by the Ravens.

Williams, who won the 1998 Heisman Trophy at Texas, 673 yards and two touchdowns for the Miami Dolphins last season. In 2009, however, he had 1,121 yards and 11 touchdowns.

Williams’s entry into the NFL was unpredecented. Mike Ditka traded the New Orleans Saints’ 1999 picks and their first- and third-round picks in 2000 in order to move up and take Williams with the fifth overall pick. He led the NFL in rushing in his rookie season with 1,853 yards. The team traded him in 2002 to Miami for four picks, including two first-rounders. In his first season, he led the NFL in rushing with 1,853 yards.

Williams retired for the NFL season and played in only one NFL game in 2006-07 when he was suspended for violating the league’s drug program.

Among other things, Williams has posed for a magazine cover wearing a wedding dress, studied holistic medicine during his time away from the game, failed multiple tests for marijuana and played in the Canadian Football League.