Iliopsoas muscle 

The iliopsoas muscle begins deep in the pelvis – arising from the top of the pelvic bone and sweeping forward over the hip joint before attaching to the front of the upper thigh.  It is actually starts as two separate muscles that join together into one common tendon where it attaches on the thigh bone.  The main action of this muscle is to flex the hip.