Complex sentence: He turns and begs her to marry him, just as a familiar-looking janitor comes into the office.
Split into simpler sentences: He turns and begs her to marry him. Just then, a familiar-looking janitor comes into the office.