A maximal theorem with function-theoretic applications | Synapse