Complex sentence: The legality of the officer's entry into Hardwick's home was not contested; only the constitutionality of the sodomy statute was challenged.
Split into simpler sentences: The legality of the officer's entry into Hardwick's home was never in question. Only the constitutionality of the sodomy statute was challenged.