Abstract: In a method for firmly connecting a shaft to a rotor-housing part, the rotor-housing part is provided having a bearing flange and the shaft is provided having a recess, extending in the circumferential direction of the shaft, on an outer circumference of the shaft. The shaft is inserted into the bearing flange such that the recess and the bearing flange overlap one another. Material of the bearing flange is introduced into the recess. With the connection, created in this way, between the shaft and bearing flange, a high press-out force is achieved.