(2)As soon as any child admitted to jail with its father attains the age of 4 years or a male prisoner dies leaving a child under that age, the Superintendent shall communicate with Magistrate of the District of which the father is or was a resident with a view to the child being made over to the charge of a relative or friend or being placed at an orphanage or being entrusted to some respectable person to be brought up at the expense of Government, if necessary, until it attains an age to earn livelihood.