The 49ers said quarterbacks coach Mike Johnson would take over as offensive coordinator. Both have been with the team since February 2009. Raye replaced Mike Martz, who led the team's offense for one year.
San Francisco had 11 first downs and 251 yards of offense in a 31-10 loss Sunday at Kansas City. Only Carolina, which is scoring points at a 10.7 points per game average, had a lower point average than the 49ers' 12.7 ppg.
Johnson was wide receivers coach for Baltimore from 2006-07 after spending three seasons as the quarterbacks coach for Atlanta. Jason Michael, an offensive assistant coach, will handle the San Francisco quarterback coaching duties.
Raye began his coaching career with San Francisco in 1977. He's been offensive coordinator for the Los Angeles Rams, Tampa Bay, New England, Washington and Oakland in his career.
Susan Sarandon 'very excited' about daughter's pregnancy
Teacher apologizes for showing sexual image of herself in class