Robert De Niroendured an injury in Oklahoma, where he was stationed for an upcomingMartin Scorsesemovie.

The Oscar winner, 77, hurt his leg, a source confirmed to PEOPLE, and he is traveling home to New York in order to get it checked out. De Niro had already planned on being home for two weeks as the production on the Scorsese-directedKillers of the Flower Mooncontinues.

A rep for the actor tells PEOPLE: “While at his on-location home in Oklahoma for the filming of Martin Scorsese’sKillers of the Flower Moon, Robert De Niro injured his quadriceps muscle which will be treated medically in New York. This will not affect production as he was not scheduled to film again for another three weeks.”

TMZwas first to report the news.

In a first look photo of the Western drama from earlier this week, DiCaprio’s character is seen sitting at a dinner table alongside costar Lily Gladstone, who plays his wife Mollie.

The Apple original film is set for release later this year.

Robert De Niro.Getty

US actor Robert De Niro attends the 2018 Carousel of Hope Ball

Lily Gladstone and Leonardo DiCaprio inKillers of the Flower Moon.Apple

Killers of the Flower Moon

Want to get the biggest stories fromPEOPLEevery weekday?Subscribe to our new podcast,PEOPLE Every Day,to get the essential celebrity, entertainment and human interest news stories Monday through Friday.

Oklahoma Film + Music Office (OF+MO) andAppleOriginal Filmsjointly announcedScorsese’s Western drama began filming on April 19,Indiewireconfirmed.

“We are thrilled to finally start production onKillers of the Flower Moonin Oklahoma,” Scorsese said in a statement at the time. “To be able to tell this story on the land where these events took place is incredibly important and critical to allowing us to portray an accurate depiction of the time and people.”

The director continued, “We’re grateful to Apple, the Oklahoma Film and Music Office and The Osage Nation, especially all our Osage consultants and cultural advisors, as we prepare for this shoot. We’re excited to start working with our local cast and crew to bring this story to life on screen and immortalize a time in American history that should not be forgotten.”

source: people.com