We define a Maslov index for symplectic paths by using the properties of Leray's index for pairs of Lagrangian paths. Our constructions are purely topological, and the index we define satisfies a simple system of five axioms. The fifth axiom establishes a relation between the spectral flow of a family of symmetric matrices and the Maslov index