Ravens head coach John Harbaugh said Monday that Jim Caldwell will remain as the offensive coordinator for 2013 and Juan Castillo has been hired as a consultant.

Castillo was the Eagles’ defensive coordinator in 2011 and the start of 2012 before being fired. He will be the Ravens’ run game coordinator next season. 

Prior to moving to defense, Castillo had been the Eagles’ offensive line coach for 13 seasons.

Caldwell began this season as Baltimore’s quarterbacks coach before being promoted following the firing of Cam Cameron. He was the head coach of the Colts from 2009-11.