Read the sentences:

It is claimed that in 1896, a man by the name of Italo Marchiony invented the ice cream cone in New York City. He was granted a patent for this cup-shaped invention in 1903.

Select the meaning of the word patent as it is used in the sentence.

A government inspection of an invention to determine if it will sell successfully
A reward for an invention created by someone outside of the country
The right granted by a social committee to open a store to sell an invention
The right granted by the government to an inventor to make or sell a product