Answer:
The length of a sentence for someone who commits assault toward a police officer can vary depending on the specific circumstances of the case and the laws of the jurisdiction where the crime was committed.
In general, crimes against law enforcement officers are considered more serious than similar crimes against civilians, and the penalties may be more severe. The severity of the sentence will depend on the nature of the crime, and whether it resulted in any injuries or not.
In the United States, the penalty for assault on a law enforcement officer can range from a misdemeanor to a felony and can be punishable by a fine, imprisonment, or both.
For example, in the United States, if someone commits a simple assault on a police officer, they could face up to one year in prison and/or a fine of up to $1,000. If someone commits a more severe crime such as aggravated assault on a law enforcement officer, they could face more severe penalties, including a long prison sentence, fines, and possibly even life imprisonment.
It is important to note that each country might have different laws and penalties for the crime of assault on a police officer, and it's best to check the specific laws of the jurisdiction where the crime was committed.