How do you replace a wheel bearing on a 2007 Volvo s40?

To replace a wheel bearing on a 2007 Volvo S40 you need to remove the caliper bolts first and then extract the car's rotor. Then you must put the new bearing on the knuckle.