1. A person commits the crime of sodomy if:
(1) He has deviate sexual intercourse with another person to whom he is not married, without that person's consent by the use of forcible compulsion; or
(2) He has deviate sexual intercourse with another person who is less than fourteen years old.
2. Sodomy is a class B felony unless in the course thereof the actor inflicts serious physical injury on any person or displays a deadly weapon, in which cases sodomy is a class A felony.