The Miami Dolphins got their man … and then they really started making moves.

Though the addition of wide receiver Mike Wallace was almost expected when free agency kicked off at 4 p.m. Tuesday, Miami followed that deal with two stunning moves.

The Dolphins completely revamped their linebacking corps, first agreed to a five-year, $34.75 million deal with former Raven Dannell Ellerbe and then a five-year deal with the Raiders’ Philip Wheeler.

Miami then released linebacker Karlos Dansby – a big free agent signing from 2010.

The move mades Dansby expendable. He was scheduled to cost Miami $8.575 million in cap space in 2013.

Ellerbe, 27, had 92 tackles and 4.5 sacks for the Ravens in 2012. He was arguably the best defensive player on the Super Bowl-champion Baltimore Ravens last season.

Wheeler, 28, spent his first four years in Indianapolis before joining Oakland in 2012. He had career highs in tackles (109), sacks (3) and passes defensed (6).

Meanwhile, the Dolphins re-signed safety Chris Clemons to a one-year deal. Clemons started all 16 games last year, recording 98 tackles and two interceptions.

Wallace will sign a five-year contract earning between $60 million and $65 million, pending a physical, the Miami Herald has confirmed. The contract includes a substantial amount of guaranteed money – believed to be about $30 million.