California’s popular fast food chain In-N-Out Burger has apparently donated tens of thousands of dollars to the state’s Republican Party, according to a state filing.

The public filing, spotted by journalist Gabe Schneider, states the Irvine-based “In-N-Out Burgers” made a contribution of $25,000 (£19,000) to the California Republican Party on 27 August. Notice of the public filing has sparked mixed reaction on social media.

One Facebook user wrote: “Never eating at [In-N-Out] again. Not going to support them support the party of Trump. Was fun while it lasted.”

Another commenter shared their support for the burger chain, charging" “We need to fill every political seat in California with Republicans."

According to public filings, In-N-Out had also made considerable contributions to other groups, notably Political Actions Committee (PAC) Californians for Jobs and a Strong Economy. Earlier this year in May, In-N-Out gave the PAC $50,000 (£ 38,000).

The burger chain’s contribution comes ahead of the state’s hotly contested midterm elections in November. California will be a significant player in the Democratic Party’s mission to win back the majority in the House of Representatives. Democrats are vying to flip seven districts currently held by Republicans but where voters had favoured former presidential nominee Hillary Clinton in 2016.

Fast food wage protests across the world Show all 10 1 /10 Fast food wage protests across the world Fast food wage protests across the world Fast food strikes Fast-food workers take part in a protest to demand an increase of the fastfood workers minimun wage in New York AFP PHOTO/Emmanuel DunandEMMANUEL DUNAND/AFP/Getty Images Fast food wage protests across the world Fast food strikes Demonstrators gather outside a McDonald's resturant in New York May REUTERS/Brendan McDermid Fast food wage protests across the world Fast food strikes A Mariachi band takes part in a protest in front of a McDonald's restaurant in Chicago, Illinois REUTERS/Jim Young Fast food wage protests across the world Fast food strikes Emmanuel Dawson protests for higher wages outside a McDonalds restaurant in Detroit AP Photo/Paul Sancya Fast food wage protests across the world Fast food strikes Labour union members raise placards to demand payment of 1,500 yen ($15) an hour for a part-time job at a McDonald's fast-food restaurant in Tokyo AFP PHOTO / Yoshikazu TSUNOYOSHIKAZU TSUNO/AFP/Getty Images Fast food wage protests across the world Fast food strikes Burger King employee Brittany Buckhannon, 24, right, demonstrates during a protest for higher wages and worker's unions outside a McDonald's restaurant in Atlanta,Georgia. AP Photo/David Goldman Fast food wage protests across the world Fast food strikes Selmira Wilson (R) who said she works for McDonald's joins in a fast food workers protest in Miami, Florida. Joe Raedle/Getty Images Fast food wage protests across the world Fast food strikes Demonstrators take part in a protest to demand higher wages for fast-food workers outside McDonald's in Los Angeles, California REUTERS/Lucy Nicholson Fast food wage protests across the world Fast food strikes Fast food workers protest for higher wages and rights outside a branch of McDonalds in central London AFP PHOTO / CARL COURTCARL COURT/AFP/Getty Images Fast food wage protests across the world Fast food strikes A protester dressed as Ronald McDonald participates in a rally to demand higher wages for fast-food workers outside a McDonald restaurant in Seoul, South Korea AP Photo/Ahn Young-joon

California residents have responded to the high stakes of the 2018 elections; the state saw its highest percentage of voter turnout in midterm primary elections in two decades.

Primary elections: Vermont nominates first transgender candidate for governor Christine Hallquist

After word on the fast food chain’s contribution spread online, a hashtag #boycottinnout had been created on Twitter. Democratic Party Chairman Eric Bauman called for a boycott using the hashtag on Twitter.

"Let Trump and his cronies support these creeps... perhaps animal style!" he wrote.

Many Twitter users have also since used the hashtag to air out their grievances with the California staple.