In 2017, shortly after the Rams hired him at 30 and made him the youngest coach modern NFL history, Sean McVay hired Matt LaFleur to be the offensive coordinator.
Four years later, they will coach against each other in an NFC divisional playoff game.
The Rams (11-6) will play the top-seeded Green Bay Packers (13-3) next weekend at Lambeau Field on Saturday afternoon.
The matchup was ensured after the second-seeded New Orleans Saints defeated the seventh-seeded Chicago Bears, 21-9, in an NFC wild-card game Sunday.
The sixth-seeded Rams advanced to the divisional round on Saturday by defeating the third-seeded Seattle Seahawks, 30-20.