The present invention relates to a knee joint for use in a lower limb prosthesis. The knee joint comprise an upper portion for connecting a custom socket and a proximal attachment, and a support comprising connecting means in its lower part for connecting a prosthetic limb. The support has at least one attachment arm on the medial or the lateral side of the knee joint prosthesis. An actuator is connected between a proximal attachment and the support and is adapted to pivot the upper portion relatively to the support. The actuator comprises a motor directly operatively connected to an axial displaceable shaft capable of changing angular velocity of the knee joint. An external control device can be used to control the knee joint.