James Mill (born James Milne , [1] 6 Apryle 1773 ? 23 Juin 1836) wis a Scots historian , economist , poleetical theorist , an philosopher .