The 20-day strike by 600 employees at the Frito-Lay factory in Topeka, Kansas, has ended after an agreement on a guaranteed day off, a 4% wage increase, and an end to the so-called “suicide shifts” that require employees to work 12-hour days with only an 8-hour break between shifts.

News of the agreement was originally reported Saturday by the New York Times.

Anthony Shelton, the union’s international president released a statement that “the workers have shown the world that union working people can stand up against the largest food companies in the world, and claim victory for themselves, their families, and their communities.”

“We believe our approach to resolving this strike demonstrates how we listen to our employees, and when concerns are raised, they are taken seriously and addressed,” Frito-Lay said in a statement.

“Looking ahead, we look forward to continuing to build on what we have accomplished together based on mutual trust and respect,” the company added.

According to the Times, the hourly wage will range from $19.09 to $38.40 an hour.

The new contract comes as other food companies, like hamburger chain McDonald’s, announced $15-an-hour wages by 2024.