What job did Guru Nanak do before he began his religious work?

Guru Nanak Dev Ji was an accountant at his brother in law's grocery store before he began his religious work.