Complex sentence: A frequent guest was John André, an officer in General William Howe's command, and he paid particular attention to Peggy.
Split into simpler sentences: A frequent guest was John André, an officer in General William Howe's command. André paid particular attention to Peggy.