For an incident which occurred in July 2022, where a police officer was hit off his motorcycle, a man has been sentenced to four years in prison.