What is the dividing line between the middle ear and the external ear?

The tympanic membrane separates the external ear from the middle ear.