(a) A person commits the crime of criminal trespass in the first degree if the person enters or remains unlawfully
(1) on land with intent to commit a crime on the land; or
(2) in a dwelling.
(b) Criminal trespass in the first degree is a class A misdemeanor.