i guess you applied for a work visa, he applied for a visitor visa.
and yes, a visitor visa is legal immigration for a certain timeframe, after which you overstay your visa.
you still legally immigrated, your charge will be overstaying your visa, not related to your immigration at all.