In subsequent years, Hayek focused more on producing while starring in the action-centered pictures Once Upon a Time in Mexico (2003), After the Sunset (2004) and Bandidas (2006). Hayek's portrayal of painter Frida Kahlo in the biopic Frida (2002), which she also produced, made her the first Mexican actress to be nominated for the Academy Award for Best Actress.