sentences:  In July 1899, the 1st Infantry Regiment was formed from the 1st Battalion, Western Australian Volunteers, with three companies in Perth and Fremantle and one in Guildford.The outbreak of the Boer War saw troops from the colony being sent to South Africa to fight.During the conflict, 349 men were dispatched from Western Australia at state expense, while a further 574 were deployed and paid for through Imperial funds.