Chinese authorities have agreed to allow Quentin Tarantino’s bloody spaghetti Western “Django Unchained” to screen in local theaters on May 12 — a month and a day after it was pulled out of theaters.

China yanked the film on April 11 during its opening day without any official explanation. The reasons for “Django’s” removal were not completely  clear since “Django” had been edited to appease censors.

Sony, which is handling the Weinstein Co. pic internationally, made the announcement Friday.

“We are delighted that audiences throughout China will be able to experience ‘Django Unchained’ beginning Sunday, May 12th,” the studio said. ” There is tremendous excitement, anticipation and awareness for the film and we thank the local authorities for quickly resolving this issue.”

Sony did not elaborate on how the movie would be revised for Chinese audiences.

Pic has grossed more than $400 million worldwide since it opened at Christmas.