Several days later, Dick’s announced it wouldn’t sell to anyone under 21, which appears to have hindered the sale.

“He was really just trying to buy a rifle,” attorney Max Whittington told the Oregonian. “He didn’t know about the policy when he went into” the store.

Dick’s and Walmart, which later announced the same policy, raised the age after gunman Nikolas Cruz reportedly stocked up a trove of guns in the year before he killed 17 people at Marjory Stoneman Douglas High School in Florida.

Dick's previously raised the sales age to 21 in the wake of last month's school shooting in Parkland, Fla.Image by: Nam Y. Huh/AP

Watson tried his luck at Walmart in Grants Pass on Saturday, where he was also denied a gun.

The lawsuit doesn’t indicate if Watson knew about the store’s new policy when he tried to purchase the firearm, the Oregonian noted.

“While we haven’t seen the complaint, we will respond as appropriate with the court,” a Walmart spokesman told the newspaper, adding it appeared to be the first legal action a customer has taken regarding the new policy.

Watson’s lawsuit claims the stores are “unlawfully discriminating against 18, 19, and 20 year-old customers at all Oregon locations.”

The action cites Oregon statutes that allow people 18 or older to buy a rifle or shotgun in the state.

But Dick’s CEO Edward Stack told ABC News’ “Good Morning America” last week that the company was within its rights to not sell to someone younger than 21.