Complex sentence: Two Presidents occupied the house while in office, George Washington from 1790 to 1797, and John Adams, from 1797 to 1800.
Split into simpler sentences: Two Presidents occupied the house while in office. Those Presidents were George Washington from 1790 to 1797, and John Adams, from 1797 to 1800.