<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bharatpedia.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PhillisVennard3</id>
	<title>Bharatpedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bharatpedia.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PhillisVennard3"/>
	<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/wiki/Special:Contributions/PhillisVennard3"/>
	<updated>2026-08-13T15:26:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=Dharmangadpur&amp;diff=428195</id>
		<title>Dharmangadpur</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=Dharmangadpur&amp;diff=428195"/>
		<updated>2023-09-17T00:47:49Z</updated>

		<summary type="html">&lt;p&gt;PhillisVennard3: Finished writing a new contribution.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|Village in Uttar Pradesh, India}}&lt;br /&gt;
{{Use dmy dates}}&lt;br /&gt;
{{Use Indian English}}&lt;br /&gt;
{{Infobox settlement&lt;br /&gt;
| name                    = Dharmangadpur&lt;br /&gt;
| native_name             = &lt;br /&gt;
| native_name_lang        = &lt;br /&gt;
| other_name              = &lt;br /&gt;
| nickname                = &lt;br /&gt;
| settlement_type         = Village&lt;br /&gt;
| image_skyline           = &lt;br /&gt;
| image_alt               = &lt;br /&gt;
| image_caption           = &lt;br /&gt;
| image_map               = &lt;br /&gt;
| map_caption             = &lt;br /&gt;
| pushpin_map             = India Uttar Pradesh&lt;br /&gt;
| pushpin_label_position  = right&lt;br /&gt;
| pushpin_map_alt         = &lt;br /&gt;
| pushpin_map_caption     = Location in Uttar Pradesh, India&lt;br /&gt;
| coordinates             = {{coord|27.12464|N|79.28106|E|display=inline,title}}&lt;br /&gt;
| subdivision_type        = Country&lt;br /&gt;
| subdivision_name        = [[India]]&lt;br /&gt;
| subdivision_type1       = [[States and territories of India|State]]&lt;br /&gt;
| subdivision_name1       = [[Uttar Pradesh]]&lt;br /&gt;
| subdivision_type2       = [[List of districts of India|District]]&lt;br /&gt;
| subdivision_name2        = [[Mainpuri district|Mainpuri]]&lt;br /&gt;
| subdivision_type3       = [[Tehsil]]&lt;br /&gt;
| subdivision_name3       = [[Bhongaon]]&lt;br /&gt;
| established_title       = &amp;lt;!-- Established --&amp;gt;&lt;br /&gt;
| established_date        = &lt;br /&gt;
| founder                 = &lt;br /&gt;
| named_for               = &lt;br /&gt;
| government_type         = &lt;br /&gt;
| governing_body          = &lt;br /&gt;
| unit_pref               = Metric&lt;br /&gt;
| area_footnotes          = &amp;lt;ref name=&amp;quot;Census 2011 A&amp;quot;/&amp;gt;&lt;br /&gt;
| area_rank               = &lt;br /&gt;
| area_total_km2          = 1.484&lt;br /&gt;
| elevation_footnotes     = &lt;br /&gt;
| elevation_m             = &lt;br /&gt;
| population_total        = 722&lt;br /&gt;
| population_as_of        = 2011&lt;br /&gt;
| population_rank         = &lt;br /&gt;
| population_density_km2  = auto&lt;br /&gt;
| population_demonym      = &lt;br /&gt;
| population_footnotes    = &amp;lt;ref name=&amp;quot;Census 2011 A&amp;quot;/&amp;gt;&lt;br /&gt;
| demographics_type1      = &lt;br /&gt;
| demographics1_title1    = &lt;br /&gt;
| demographics1_info1     = &lt;br /&gt;
| timezone1               = [[Indian Standard Time|IST]]&lt;br /&gt;
| utc_offset1             = +5:30&lt;br /&gt;
| postal_code_type        = [[Postal Index Number|PIN]]&lt;br /&gt;
| postal_code             = &lt;br /&gt;
| registration_plate      = &lt;br /&gt;
| website                 = &lt;br /&gt;
| footnotes               = &lt;br /&gt;
}}&lt;br /&gt;
&#039;&#039;&#039;Dharmangadpur&#039;&#039;&#039; ([[Devanagari]]: धरमंगदपुर {{IAST|Dharmaṅgadpur}}) is a village in [[Bewar, Mainpuri|Bewar]] block of [[Mainpuri district]], [[Uttar Pradesh]]. As of 2011, it has a population of 722, in 118 households.&lt;br /&gt;
&lt;br /&gt;
== Demographics ==&lt;br /&gt;
As of 2011, Dharmangadpur had a population of 722, in 118 households.&amp;lt;ref name=&amp;quot;Census 2011 A&amp;quot;/&amp;gt;{{rp|200}} This population was 52.8% male (381) and 47.2% female (341).&amp;lt;!-- Census 2011 B, p. 142 --&amp;gt; The 0-6 age group numbered 89 (51 male and 38 female), or 12.3% of the total population.&amp;lt;!-- Census 2011 B, p. 142 --&amp;gt; 105 residents were members of Scheduled Castes, or 14.5% of the total.&amp;lt;ref name=&amp;quot;Census 2011 B&amp;quot;&amp;gt;{{cite web |title=Census of India 2011: Uttar Pradesh District Census Handbook - Mainpuri, Part B (Village and Town Wise Primary Census Abstract) |url=https://censusindia.gov.in/nada/index.php/catalog/1259/download/4050/DH_2011_0917_PART_B_DCHB_MAINPURI.pdf |website=Census of India |access-date=19 June 2023}}&amp;lt;/ref&amp;gt;{{rp|142-3}}&lt;br /&gt;
&lt;br /&gt;
The [[1981 Census of India|1981 census]] recorded Dharmangadpur as having a population of 569 people, in 81 households.&amp;lt;ref name=&amp;quot;Census 1981&amp;quot;&amp;gt;{{cite book |title=Census 1981 Uttar Pradesh: District Census Handbook Part XIII-A: Village &amp;amp; Town Directory, District Mainpuri |url=https://censusindia.gov.in/nada/index.php/catalog/29484/download/32665/28516_1981_MAI.pdf |access-date=25 July 2023}}&amp;lt;/ref&amp;gt;{{rp|192-3}}&lt;br /&gt;
&lt;br /&gt;
The [[1961 Census of India|1961 census]] recorded Dharmangadpur as comprising 3 hamlets, with a total population of 522 people (281 male and 241 female), in 72 households and 66 physical houses. The area of the village was given as 414 acres.&amp;lt;ref name=&amp;quot;Census 1961&amp;quot;&amp;gt;{{cite book |title=Census 1961: District Census Handbook, Uttar Pradesh (24 - Mainpuri District) |location=Lucknow |url=https://censusindia.gov.in/nada/index.php/catalog/28772/download/31954/22833_1961_MAI.pdf |access-date=25 December 2021}}&amp;lt;/ref&amp;gt;{{rp|xcviii}}&lt;br /&gt;
&lt;br /&gt;
== Infrastructure ==&lt;br /&gt;
As of 2011, Dharmangadpur had 1 primary school; it did not have any healthcare facilities.&amp;lt;!-- Census 2011 A, p. 200-1 --&amp;gt; Drinking water was provided by hand pump and tube well/borehole; there were no public toilets.&amp;lt;!-- Census 2011 A, p. 202 --&amp;gt; The village had a public library but no post office; there was at least some access to electricity for all purposes.&amp;lt;!-- Census 2011 A, p. 202, 4 --&amp;gt; Streets were made of &#039;&#039;[[Indian vernacular architecture#kachcha|kachcha]]&#039;&#039; materials.&amp;lt;!-- Census 2011 A, p. 205 --&amp;gt;&amp;lt;ref name=&amp;quot;Census 2011 A&amp;quot;&amp;gt;{{cite web |title=Census of India 2011: Uttar Pradesh District Census Handbook - Mainpuri, Part A (Village and Town Directory) |url=https://censusindia.gov.in/nada/index.php/catalog/1258/download/4046/DH_2011_0917_PART_A_DCHB_MAINPURI.pdf |website=Census of India |access-date=19 June 2023}}&amp;lt;/ref&amp;gt;{{rp|200-5}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
{{Mainpuri district}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Villages in Mainpuri district]]&lt;/div&gt;</summary>
		<author><name>PhillisVennard3</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=Table_Tennis_Federation_of_India&amp;diff=433201</id>
		<title>Table Tennis Federation of India</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=Table_Tennis_Federation_of_India&amp;diff=433201"/>
		<updated>2023-08-19T13:30:47Z</updated>

		<summary type="html">&lt;p&gt;PhillisVennard3: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Use dmy dates|date=March 2023}}&lt;br /&gt;
{{Use Indian English|date=March 2023}}&lt;br /&gt;
{{Infobox sport governing body&lt;br /&gt;
|name         = Table Tennis Federation of India &lt;br /&gt;
|abbrev       = TTFI&lt;br /&gt;
|logo         = TTFILOGO.jpg&lt;br /&gt;
|logosize     = 250px&lt;br /&gt;
|sport        = [[Table Tennis]]&lt;br /&gt;
|category     =&lt;br /&gt;
|image        =&lt;br /&gt;
|caption      =&lt;br /&gt;
|jurisdiction = National&lt;br /&gt;
|membership   = 32 state units and 37 institutions&lt;br /&gt;
|founded      = {{Start date and age|df=yes|1926}}&lt;br /&gt;
|aff          = [[International Table Tennis Federation]]&lt;br /&gt;
|affdate      = 1926&lt;br /&gt;
|region       = [[Asian Table Tennis Union]]&lt;br /&gt;
|regionyear   = &lt;br /&gt;
|headquarters = I-12, 3rd Floor, DSIIDC Industrial Complex, Near Udyog Nagar Metro Station, Rohtak Road, Delhi - 110041&lt;br /&gt;
|president    = Meghna Ahlawat &lt;br /&gt;
|secretary    = Kamlesh Mehta&amp;lt;ref&amp;gt;{{cite web |title=Executive Committee |url=http://ttfi.org/cmspages/index/committee |website=ttfi.org |accessdate=19 July 2018}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|coach        =&lt;br /&gt;
|womenscoach  =&lt;br /&gt;
|key staff    =&lt;br /&gt;
|operating income =&lt;br /&gt;
|sponsor      =&lt;br /&gt;
|url          = http://ttfi.org&lt;br /&gt;
|countryflag  = IND&lt;br /&gt;
|more         = &lt;br /&gt;
}}&lt;br /&gt;
The &#039;&#039;&#039;Table Tennis Federation of India (TTFI)&#039;&#039;&#039; is the [[governing body]] for [[table tennis]] in [[India]]. The TTFI was established in 1926, and was a founding member of the [[International Table Tennis Federation]] (ITTF). TTFI&#039;s membership includes 32 state units and 37 institutions.&amp;lt;ref name=&amp;quot;About&amp;quot;&amp;gt;{{cite web |title=About TTFI |url=http://ttfi.org/cmspages/index/about/ |website=ttfi.org |accessdate=19 July 2018}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Dushyant Chautala]] was elected as President of the TTFI at the federation&#039;s annual general body meeting on 30 January 2017, becoming the youngest President in the TTFI&#039;s history.&amp;lt;ref&amp;gt;{{cite web |title=Dushyant Chautala is new chief of Table Tennis Federation of India |url=https://www.business-standard.com/article/news-ians/dushyant-chautala-is-new-chief-of-table-tennis-federation-of-india-117013000642_1.html |website=Business Standard India |accessdate=19 July 2018 |date=30 January 2017}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ 86tg National Table Tennis Championship&lt;br /&gt;
! Year&lt;br /&gt;
! Venue&lt;br /&gt;
! City&lt;br /&gt;
! State/union territory &lt;br /&gt;
! Events&lt;br /&gt;
|-&lt;br /&gt;
|2023|| University of Jammu Gymnasium Hall || [[Jammu]]&amp;lt;ref&amp;gt;{{Cite web |last=KO |date=2023-03-18 |title=Jammu To Host Senior National Table Tennis Championship |url=https://kashmirobserver.net/2023/03/18/jammu-to-host-senior-national-table-tennis-championship/ |access-date=2023-03-23 |website=Kashmir Observer |language=en-US}}&amp;lt;/ref&amp;gt;|| [[Jammu and Kashmir (union territory)|Jammu and Kashmir]]&amp;lt;ref&amp;gt;{{Cite web |last=NETWORK |first=GK NEWS |title=&#039;J&amp;amp;K all set to host Senior National Table Tennis Championship&#039; |url=https://www.greaterkashmir.com/sports/jk-all-set-to-host-senior-national-table-tennis-championship |access-date=2023-03-23 |website=Greater Kashmir |language=en}}&amp;lt;/ref&amp;gt;||7 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Winners ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; |Medal&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | Men&#039;s &lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | Women&#039;s &lt;br /&gt;
!Mixed&lt;br /&gt;
|-&lt;br /&gt;
!Individual&lt;br /&gt;
!Doubles&lt;br /&gt;
!Team&lt;br /&gt;
!Individual&lt;br /&gt;
!Doubles&lt;br /&gt;
!Team&lt;br /&gt;
!Doubles&lt;br /&gt;
|-&lt;br /&gt;
!{{GoldMedal}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
!{{SilverMedal}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
!{{BronzeMedal}}&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* https://theprint.in/sport/ttfi-election-meghna-ahlawat-to-be-first-women-president-tt-legend-kamlesh-mehta-to-take-over-as-secretary-general/1249956/&lt;br /&gt;
&lt;br /&gt;
{{Sports governing bodies in India}}&lt;br /&gt;
{{National members of the International Table Tennis Federation}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Sports governing bodies in India]]&lt;br /&gt;
[[Category:Table tennis in India]]&lt;br /&gt;
[[Category:1926 establishments in India]]&lt;br /&gt;
[[Category:Sports organizations established in 1926]]&lt;br /&gt;
[[Category:Organisations based in Delhi]]&lt;br /&gt;
&lt;br /&gt;
{{tabletennis-stub}}&lt;/div&gt;</summary>
		<author><name>PhillisVennard3</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=Gheevarghese_Aprem&amp;diff=394833</id>
		<title>Gheevarghese Aprem</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=Gheevarghese_Aprem&amp;diff=394833"/>
		<updated>2023-07-14T15:29:28Z</updated>

		<summary type="html">&lt;p&gt;PhillisVennard3: Just finished drafting a fresh page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|Indian bishop (born 1961)}}&lt;br /&gt;
{{Infobox Christian leader&lt;br /&gt;
| name = Gheevarghese Aprem&lt;br /&gt;
| image = &lt;br /&gt;
| alt = &lt;br /&gt;
| caption = &lt;br /&gt;
| birth_name = George Kurisummoottil&lt;br /&gt;
| birth_date = 9 August 1961&lt;br /&gt;
| death_date = &lt;br /&gt;
| death_place = &lt;br /&gt;
| nationality = &lt;br /&gt;
| other_names = &lt;br /&gt;
| title = [[Syro-Malabar Catholic Archeparchy of Kottayam|Auxiliary of Kottayam]]&lt;br /&gt;
| website = &lt;br /&gt;
| see = &lt;br /&gt;
| honorific_prefix = Mar&lt;br /&gt;
| honorific_suffix = &lt;br /&gt;
| church = [[Syro-Malabar Catholic Church]]  &amp;lt;br/&amp;gt; [[Syro-Malankara Catholic Church]]&lt;br /&gt;
| archdiocese = [[Syro-Malabar Catholic Archeparchy of Kottayam|Kottayam]]&lt;br /&gt;
| predecessor = &lt;br /&gt;
| rank = &lt;br /&gt;
| type = Metropolitan Archbishop&lt;br /&gt;
| appointed = 29 August 2020&lt;br /&gt;
| ordination = 27 December 1987&lt;br /&gt;
| consecrated_by = [[Mathew Moolakkatt]], [[Baselios Cleemis]], and [[Joseph Pandarasseril]]&lt;br /&gt;
| consecration = 14 November 2020&lt;br /&gt;
| birth_place = [[Tiruvalla]],[[Kerala]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Gheevarghese Mar Aprem&#039;&#039;&#039; is the [[Auxiliary bishop]] of the [[Syro-Malabar Catholic Archeparchy of Kottayam]] . He was elected by the [[synod]] of the [[Syro-Malabar Church|Syro-Malabar Catholic Church]] as the Auxiliary Bishop on August 29, 2020.&lt;br /&gt;
&lt;br /&gt;
== Early life and education ==&lt;br /&gt;
Gheevarhese Mar Aprem was born George Kurisummotil on August 9, 1961, in [[Thiruvalla|Thiruvalla, Kerala]] as a member of the [[Syro-Malankara Catholic Church|Syro Malankara]] Knanaya Community. He began his priestly formation at St. Stanislaw&#039;s Minor Seminary in [[Kottayam]]. He then continued his studies at St. Joseph&#039;s Diocesan Seminary in [[Mangalore]].&amp;lt;ref&amp;gt;{{Cite web |last=ccbi |first=Editor |title=Fr. George Kurisummoottil Appointed Auxiliary Bishop of Kottayam |url=https://ccbi.in/fr-george-kurisummoottil-appointed-auxiliary-bishop-of-kottayam/ |access-date=2023-07-13 |website=CCBI |language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Ministry ==&lt;br /&gt;
After his ordination, He served as the Kottayam Minor Seminary as its vice rector and then served in numerous parishes for a decade while attaining a master&#039;s in sacred art at the [[Holy Spirit University of Kaslik|Holy Spirit Maronite University]] in [[Kaslik|Kaslik, Lebanon]]. After his master&#039;s, He taught iconography at [[Ephrem the Syrian|Saint Ephrem]] Ecumenical Research Institute and theology of icons at the Saint Thomas Apostolic Seminary. He then served as director of the “Hadusa” Commission for the Performing Arts till he was appointed as the parish priest of Saint Theresa&#039;s Catholic Church, Ranni, a role that he served until his appointment as bishop. In 2019, Archbishop [[Mathew Moolakkatt]] appointed him as the vicar-general of the Syro Malankara Faithful in the archdiocese.&amp;lt;ref&amp;gt;{{Cite web |title=Resignations and Appointments |url=https://press.vatican.va/content/salastampa/en/bollettino/pubblico/2020/08/29/200829b.html |access-date=2023-07-13 |website=press.vatican.va}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Auxiliary bishop ==&lt;br /&gt;
He was appointed on August 29, 2020, After long consideration and debate between the Syro Malabar Archeparchy, The Synod, and the Syro Malankara Catholicos for the need of an auxiliary bishop for the Syro Malankara Faithful in the Community. He was consecreated  by the Catholicos of the [[Syro-Malankara Catholic Church]] [[Baselios Cleemis]], [[Joseph Pandarasseril]], and Moolakkatt.&amp;lt;ref&amp;gt;{{Cite web |title=Auxiliary Bishop of Kottayam Archdiocese Gheevarghese (George) Kurisummoottil {{!}} UCA News |url=https://www.ucanews.com/directory/bishops/bishop-kurisummoottil/1048 |access-date=2023-07-13 |website=www.ucanews.com}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Aprem, Gheevarghese}}&lt;br /&gt;
[[Category:1961 births]]&lt;br /&gt;
[[Category:Living people]]&lt;br /&gt;
[[Category:People from Thiruvalla]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{India-RC-bishop-stub}}&lt;/div&gt;</summary>
		<author><name>PhillisVennard3</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=Internet_Relay_Chat&amp;diff=394868</id>
		<title>Internet Relay Chat</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=Internet_Relay_Chat&amp;diff=394868"/>
		<updated>2023-07-13T18:20:45Z</updated>

		<summary type="html">&lt;p&gt;PhillisVennard3: Authored a new page format.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Use dmy dates}}&lt;br /&gt;
{{Short description|Protocol for real-time Internet chat and messaging}}&lt;br /&gt;
{{hatnote group|&lt;br /&gt;
{{redirect|IRC}}{{for|Wikipedia-related IRC channels|Wikipedia:IRC|selfref=true}}&lt;br /&gt;
}}&lt;br /&gt;
{{Infobox networking protocol&lt;br /&gt;
| title        = Internet Relay Chat&lt;br /&gt;
| logo         = &lt;br /&gt;
| logo alt     = &lt;br /&gt;
| image        = &lt;br /&gt;
| image alt    = &lt;br /&gt;
| caption      = &lt;br /&gt;
| is stack     = &lt;br /&gt;
| abbreviation = IRC&lt;br /&gt;
| purpose      = [[Instant messaging]]&lt;br /&gt;
| developer    = Jarkko Oikarinen&lt;br /&gt;
| date         = {{Start date and age|1988|08}}&lt;br /&gt;
| based on     = &lt;br /&gt;
| influenced   = Not yet superseded&amp;lt;br/&amp;gt;[http://ircv3.net/ IRCv3] (standards process working group)&lt;br /&gt;
| osilayer     = Application layer&lt;br /&gt;
| ports        = 6667&lt;br /&gt;
| rfcs         = [https://datatracker.ietf.org/doc/html/rfc1459 RFC 1459]&lt;br /&gt;
| hardware     = &lt;br /&gt;
}}&lt;br /&gt;
{{IPstack}}&lt;br /&gt;
[[File:Tolsun 2.jpg|thumb|upright|The first IRC server, tolsun.oulu.fi, a [[Sun-3]] server on display near the [[University of Oulu]] computer centre]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Internet Relay Chat&#039;&#039;&#039; (&#039;&#039;&#039;IRC&#039;&#039;&#039;) is a text-based chat system for [[instant messaging]]. IRC is designed for [[Many-to-many|group communication]] in discussion forums, called &#039;&#039;[[#Channels|channels]]&#039;&#039;,&amp;lt;ref&amp;gt;{{cite IETF|rfc=1459|title=Internet Relay Chat Protocol|sectionname=One-to-many|section=3.2|page=11|idanchor=ietf}}&amp;lt;/ref&amp;gt; but also allows one-on-one communication via [[instant messaging|private messages]]&amp;lt;ref&amp;gt;{{cite IETF |rfc=2810 |title=Internet Relay Chat: Architecture |sectionname=One-To-One Communication |section=5.1 |page=5 |idanchor=ietf }}&amp;lt;/ref&amp;gt; as well as [[Direct Client-to-Client|chat and data transfer]],&amp;lt;ref&amp;gt;{{cite web |last=Rollo |first=Troy |title=A Description of the DCC Protocol |url=http://www.irchelp.org/irchelp/rfc/dccspec.html |access-date=8 April 2011 |website=IRCHelp.org }}&amp;lt;/ref&amp;gt; including [[file sharing]].&amp;lt;ref&amp;gt;{{cite book|last=Wang|first=Wallace|title=Steal this File Sharing Book|publisher=[[No Starch Press]]|isbn=978-1-59327-050-6|edition=1st|location=[[San Francisco, California]]|pages=[https://archive.org/details/stealthisfilesha00wang/page/61 61–67]|chapter=Instant Messaging and Online Chat Rooms: Internet Relay Chat (IRC)|chapter-url=https://archive.org/details/stealthisfilesha00wang/page/61}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Internet Relay Chat is implemented as an [[application layer]] protocol to facilitate communication in the form of text. The chat process works on a [[Client–server model|client–server networking model]]. Users connect, using a client{{emdash}}which may be a [[Web application|web app]], a [[Computer program|standalone desktop program]], or embedded into part of a larger program{{emdash}}to an IRC server, which may be part of a larger IRC network. Examples of programs used to connect include [[Mibbit]], [[IRCCloud]], [[KiwiIRC]], and [[mIRC]].&lt;br /&gt;
&lt;br /&gt;
IRC usage has been declining steadily since 2003, losing 60 percent of its users.&amp;lt;ref name=&amp;quot;pingdom&amp;quot; /&amp;gt; In April 2011, the top 100 IRC networks served more than half a million users at a time.&amp;lt;ref name=&amp;quot;irc networks top 100&amp;quot;&amp;gt;{{cite web&lt;br /&gt;
| url         = http://irc.netsplit.de/networks/top100.php&lt;br /&gt;
| title       = IRC Networks – Top 100&lt;br /&gt;
| access-date = 8 April 2011&lt;br /&gt;
| website = irc.netsplit.de&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=={{anchor|MultiUser Talk}} History== &amp;lt;!-- This section is linked from redirect &amp;quot;[[MultiUser Talk]]&amp;quot; --&amp;gt;&lt;br /&gt;
{{See also|IRCd#History}}&lt;br /&gt;
IRC was created by [[Jarkko Oikarinen]] in August 1988 to replace a program called MUT (MultiUser Talk) on a [[Bulletin board system|BBS]] called OuluBox at the [[University of Oulu]] in [[Finland]], where he was working at the Department of Information Processing Science. Jarkko intended to extend the BBS software he administered, to allow news in the [[Usenet]] style, real time discussions and similar BBS features. The first part he implemented was the chat part, which he did with borrowed parts written by his friends Jyrki Kuoppala and Jukka Pihl. The first IRC network was running on a single server named tolsun.oulu.fi.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;&amp;gt;{{cite web&lt;br /&gt;
|last=Stenberg&lt;br /&gt;
|first=Daniel&lt;br /&gt;
|title=History of IRC (Internet Relay Chat)&lt;br /&gt;
|url=https://daniel.haxx.se/irchistory.html&lt;br /&gt;
|access-date=25 April 2016&lt;br /&gt;
|date=29 March 2011&lt;br /&gt;
|quote=I did not experience all of this. I found information on various places and I received information from various people in order to write this. People that have helped me with this include: Greg &amp;quot;wumpus&amp;quot; Lindahl, Vesa &amp;quot;vesa&amp;quot; Ruokonen, James Ng, Tuomas Heino, Richard (eagle`s on undernet), Ari Lemmke&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Oikarinen found inspiration in a chat system known as [[Bitnet Relay]], which operated on the [[BITNET]].&amp;lt;ref name=&amp;quot;founding irc&amp;quot;&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.mirc.com/jarkko.html&lt;br /&gt;
| title       = Founding IRC&lt;br /&gt;
| access-date  = 8 April 2011&lt;br /&gt;
| last        = Oikarinen&lt;br /&gt;
| first       = Jarkko&lt;br /&gt;
| author-link  = Jarkko Oikarinen&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Jyrki Kuoppala pushed Oikarinen to ask Oulu University to free the IRC code so that it also could be run outside of Oulu, and after they finally got it released, Jyrki Kuoppala immediately installed another server. This was the first &amp;quot;IRC network&amp;quot;. Oikarinen got some friends at the [[Helsinki University]] and [[Tampere University]] to start running IRC servers when his number of users increased and other universities soon followed. At this time Oikarinen realized that the rest of the BBS features probably wouldn&#039;t fit in his program.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Oikarinen contacted people at the [[University of Denver]] and [[Oregon State University]]. They had their own IRC network running and wanted to connect to the Finnish network. They had obtained the program from one of Oikarinen&#039;s friends, Vijay Subramaniam—the first non-Finnish person to use IRC. IRC then grew larger and got used on the entire Finnish national network—[[FUNET]]—and then connected to [[NORDUnet|Nordunet]], the Scandinavian branch of the Internet. In November 1988, IRC had spread across the Internet and in the middle of 1989, there were some 40 servers worldwide.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===EFnet===&lt;br /&gt;
In August 1990, the first major disagreement took place in the IRC world. The &amp;quot;A-net&amp;quot; (Anarchy net) included a server named eris.berkeley.edu. It was all open, required no passwords and had no limit on the number of connects. As Greg &amp;quot;wumpus&amp;quot; Lindahl explains{{Citation needed}}: &amp;quot;it had a wildcard server line, so people were hooking up servers and [[IRC takeover#Nick collision|nick-colliding]] everyone&amp;quot;. The &amp;quot;Eris Free Network&amp;quot;, [[EFnet]], made the eris machine the first to be Q-lined (Q for quarantine) from IRC. In wumpus&#039; words again{{Citation needed}}: &amp;quot;Eris refused to remove that line, so I formed EFnet. It wasn&#039;t much of a fight; I got all the hubs to join, and almost everyone else got carried along.&amp;quot; A-net was formed with the eris servers, while EFnet was formed with the non-eris servers. History showed most servers and users went with EFnet. Once A-net disbanded, the name EFnet became meaningless, and once again it was the one and only IRC network.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Around that time IRC was used to report on the [[1991 Soviet coup d&#039;état attempt]] throughout a [[media blackout]].&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
 |url=http://www.ibiblio.org/pub/academic/communications/logs/report-ussr-gorbatchev&lt;br /&gt;
 |title=IRC transcripts from the time of the 1991 Soviet coup d&#039;état attempt&lt;br /&gt;
 |access-date=8 April 2011&lt;br /&gt;
|publisher=[[ibiblio]]&lt;br /&gt;
 |location=[[Chapel Hill, North Carolina]]&lt;br /&gt;
 |url-status=dead&lt;br /&gt;
 |archive-url=https://web.archive.org/web/20090628013626/http://www.ibiblio.org/pub/academic/communications/logs/report-ussr-gorbatchev&lt;br /&gt;
 |archive-date=28 June 2009&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; It was previously used in a similar fashion during the [[Gulf War]].&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.ibiblio.org/pub/academic/communications/logs/Gulf-War/&lt;br /&gt;
| title       = IRC logs of events of the Gulf War&lt;br /&gt;
| access-date  = 8 April 2011&lt;br /&gt;
| publisher   = [[ibiblio]]&lt;br /&gt;
| location    = [[Chapel Hill, North Carolina]]&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; [[Chat log]]s of these and other events are kept in the [[ibiblio]] archive.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.ibiblio.org/pub/academic/communications/logs/&lt;br /&gt;
| title       = Logs of major events in the online community&lt;br /&gt;
| access-date  = 8 April 2011&lt;br /&gt;
| publisher   = [[ibiblio]]&lt;br /&gt;
| location    = [[Chapel Hill, North Carolina]]&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Undernet fork===&lt;br /&gt;
Another fork effort, the first that made a lasting difference, was initiated by &amp;quot;Wildthang&amp;quot; in the United States in October 1992. (It forked off the EFnet ircd version 2.8.10). It was meant to be just a test network to develop bots on but it quickly grew to a network &amp;quot;for friends and their friends&amp;quot;. In Europe and Canada a separate new network was being worked on and in December the French servers connected to the Canadian ones, and by the end of the month, the French and Canadian network was connected to the US one, forming the network that later came to be called &amp;quot;The [[Undernet]]&amp;quot;.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;undernetters&amp;quot; wanted to take ircd further in an attempt to make it use less bandwidth and to try to sort out the channel chaos ([[netsplit]]s and [[IRC takeover|takeovers]]) that EFnet started to suffer from. For the latter purpose, the Undernet implemented timestamps, new routing and offered the CService—a program that allowed users to register channels and then attempted to protect them from troublemakers. The first server list presented, from 15 February 1993, includes servers from the U.S., Canada, France, Croatia and Japan. On 15 August, the new user count record was set to 57 users.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In May 1993, RFC 1459&amp;lt;ref name=&amp;quot;rfc 1459 1 introduction&amp;quot;&amp;gt;{{cite IETF|rfc=1459|title=Internet Relay Chat Protocol|sectionname=Introduction|section=1|page=4|idanchor=ietf}}&amp;lt;/ref&amp;gt; was published and details a simple protocol for client/server operation, channels, one-to-one and one-to-many conversations.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt; It is notable that a significant number of extensions like CTCP, colors and formats are not included in the protocol specifications, nor is character encoding,&amp;lt;ref name=&amp;quot;rfc 1459 2.2 character codes&amp;quot;/&amp;gt; which led various implementations of servers and clients to diverge. Software implementation varied significantly from one network to the other, each network implementing their own policies and standards in their own code bases.&lt;br /&gt;
&lt;br /&gt;
===DALnet fork===&lt;br /&gt;
During the summer of 1994, the Undernet was itself forked. The new network was called [[DALnet]] (named after its founder: dalvenjah), formed for better user service and more user and channel protections. One of the more significant changes in DALnet was use of longer nicknames (the original ircd limit being 9 letters). DALnet ircd modifications were made by Alexei &amp;quot;Lefler&amp;quot; Kosut. DALnet was thus based on the Undernet ircd server, although the DALnet pioneers were EFnet abandoners. According to James Ng, the initial DALnet people were &amp;quot;ops in #StarTrek sick from the constant splits/lags/takeovers/etc&amp;quot;.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
DALnet quickly offered global WallOps (IRCop messages that can be seen by users who are +w (/mode NickName +w)), longer nicknames, Q:Lined nicknames (nicknames that cannot be used i.e. ChanServ, IRCop, NickServ, etc.), global K:Lines (ban of one person or an entire domain from a server or the entire network), IRCop only communications: GlobOps, +H mode showing that an IRCop is a &amp;quot;helpop&amp;quot; etc. Much of DALnet&#039;s new functions were written in early 1995 by Brian &amp;quot;Morpher&amp;quot; Smith and allow users to own nicknames, control channels, send memos, and more.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===IRCnet fork===&lt;br /&gt;
In July 1996, after months of [[flame war]]s and discussions on the mailing list, there was yet another split due to disagreement in how the development of the ircd should evolve. Most notably, the &amp;quot;European&amp;quot; (most of those servers were in Europe) side that later named itself [[IRCnet]] argued for nick and channel delays whereas the EFnet side argued for timestamps.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt; There were also disagreements about policies: the European side had started to establish a set of rules directing what IRCops could and could not do, a point of view opposed by the US side.&amp;lt;ref&amp;gt;{{cite web|url=http://www.irc.org/history_docs/TheGreatSplit.html |title=The Great Split |publisher=IRC.org |last=Engen|first=Vegard|access-date=25 April 2016}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Most (not all) of the IRCnet servers were in Europe, while most of the EFnet servers were in the US. This event is also known as &amp;quot;The Great Split&amp;quot; in many IRC societies. EFnet has since (as of August 1998) grown and passed the number of users it had then. In the (northern) autumn of the year 2000, EFnet had some 50,000 users and IRCnet 70,000.&amp;lt;ref name=&amp;quot;stenberg&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modern IRC===&lt;br /&gt;
IRC has changed much over its life on the Internet. New server software has added a multitude of new features.&lt;br /&gt;
* [[IRC services|Services]]: Network-operated bots to facilitate registration of nicknames and channels, sending messages for offline users and network operator functions.&lt;br /&gt;
* Extra modes: While the original IRC system used a set of standard user and channel modes, new servers add many new modes for features such as removing color codes from text,&amp;lt;ref&amp;gt;{{cite web|title=Channel Modes|url=https://www.unrealircd.org/docs/Channel_modes|website=UnrealIRCd documentation wiki|access-date=6 January 2018}}&amp;lt;/ref&amp;gt; or obscuring a user&#039;s hostmask (&amp;quot;cloaking&amp;quot;) to protect from [[denial-of-service attack]]s.&amp;lt;ref&amp;gt;{{cite web|title=Cloaking|url=https://www.unrealircd.org/docs/Cloaking|website=UnrealIRCd documentation wiki|access-date=6 January 2018}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Proxy detection: Most modern servers support detection of users attempting to connect through an insecure (misconfigured or exploited) [[proxy server]], which can then be denied a connection. This proxy detection software is used by several networks, although that real time list of proxies is defunct since early 2006.&amp;lt;ref&amp;gt;{{cite web|url=http://www.irc-junkie.org/2006-05-07/blitzed-open-proxy-monitor-shuts-down/|title=Blitzed Open Proxy Monitor Shuts Down|quote=The Open Proxy Monitor which has been provided by the Blitzed IRC network has been shut down…The database was so large that it is near to impossible for the team to backup, or find a new location to continue the service. Added to that, most of the team members do not possess the time anymore to keep the service running.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Additional commands: New commands can be such things as shorthand commands to issue commands to Services, to network-operator-only commands to manipulate a user&#039;s hostmask.{{Citation needed}}&lt;br /&gt;
* [[Encryption]]: For the client-to-server leg of the connection [[Transport Layer Security|TLS]] might be used (messages cease to be secure once they are relayed to other users on standard connections, but it makes [[Man-in-the-middle attack|eavesdropping]] on or wiretapping an individual&#039;s IRC sessions difficult). For client-to-client communication, [[Secure Direct Client-to-Client|SDCC]] (Secure DCC) can be used.{{Citation needed}}&lt;br /&gt;
* Connection protocol: IRC can be connected to via [[IPv4]], the old version of the [[Internet Protocol]], or by [[IPv6]], the current standard of the protocol.&lt;br /&gt;
&lt;br /&gt;
{{As of|2016}}, a new standardization effort is under way under a working group called IRCv3, which focuses on more advanced client features like instant notifications, better history support and improved security.&amp;lt;ref name=&amp;quot;ircv3&amp;quot;&amp;gt;{{cite web|title=IRCv3|url=http://ircv3.net/|publisher=IRCv3 Working Group|access-date=25 April 2016|quote=The IRCv3 Working Group is a collection of IRC client and server software authors working to enhance, maintain and standardize the IRC protocol using backwards-compatible extensions.}}&amp;lt;/ref&amp;gt; {{As of|2019}}, no major IRC networks have fully adopted the proposed standard.&amp;lt;ref name=&amp;quot;ircv3usage&amp;quot;&amp;gt;{{cite web|title= Networks - IRCv3|url=https://ircv3.net/support/networks.html|access-date=9 August 2019}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{As of|2021|06|post=,}} there are 481 different IRC networks known to be operating,&amp;lt;ref name=&amp;quot;networks&amp;quot;&amp;gt;{{Cite web |title=IRC Networks - in alphabetical order |url=https://netsplit.de/networks/index.php.php |access-date=12 January 2022 |website=netsplit.de}}&amp;lt;/ref&amp;gt; of which the open source [[Libera Chat]], founded in May 2021, has the most users, with 20,374 channels on 26 servers; between them, the top 100 IRC networks share over 100 thousand channels operating on about one thousand servers.&amp;lt;ref name=&amp;quot;top 100&amp;quot;&amp;gt;{{Cite web |title=IRC Networks - Top 100 |url=https://netsplit.de/networks/top100.php.php |access-date=12 January 2022 |website=netsplit.de}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After its golden era during the 1990s and early 2000s (240,000 users on QuakeNet in 2004), IRC has seen a significant decline, losing around 60% of users between 2003 and 2012, with users moving to newer [[social media]] platforms like [[Facebook]] or [[Twitter]],&amp;lt;ref name=&amp;quot;pingdom&amp;quot;&amp;gt;{{cite web|url=http://royal.pingdom.com/2012/04/24/irc-is-dead-long-live-irc/|title=IRC is dead, long live IRC|website=Pingdom|access-date=25 April 2016|archive-date=15 August 2017|archive-url=https://web.archive.org/web/20170815064620/http://royal.pingdom.com/2012/04/24/irc-is-dead-long-live-irc/|url-status=dead}}&amp;lt;/ref&amp;gt; but also to open platforms like [[XMPP]] which was developed in 1999. Certain networks like [[Freenode]] have not followed the overall trend and have more than quadrupled in size during the same period.&amp;lt;ref name=&amp;quot;pingdom&amp;quot; /&amp;gt; However, Freenode, which in 2016 had around 90,000 users, has since declined to about 9,300 users.&amp;lt;ref&amp;gt;{{cite web|title=netsplit.de top 10|url=http://irc.netsplit.de/networks/top10.php|access-date=15 January 2021}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The largest IRC networks have traditionally been grouped as the &amp;quot;Big Four&amp;quot;&amp;lt;ref name=&amp;quot;the book of irc&amp;quot;&amp;gt;{{cite book |last      = Charalabidis&lt;br /&gt;
 |first     = Alex&lt;br /&gt;
 |title     = The Book of IRC: The Ultimate Guide to Internet Relay Chat&lt;br /&gt;
 |url-access = registration&lt;br /&gt;
 |edition   = 1st&lt;br /&gt;
 |date      = 15 December 1999&lt;br /&gt;
|publisher = No Starch Press&lt;br /&gt;
 |location  = [[San Francisco, California]]&lt;br /&gt;
 |isbn      = 978-1-886411-29-6&lt;br /&gt;
 |page      = [https://archive.org/details/bookofirc00char/page/61 61]&lt;br /&gt;
 |chapter   = IRCing On The Macintosh: Ircle&lt;br /&gt;
 |quote     = On large networks such as the Big Four{{mdash}} EFnet, IRCnet, Undernet, and DALnet{{mdash}} trying to list the thousands of channels with Ircle always causes you to disconnect due to the flood of information, while other clients can usually manage the feat, if you are on a direct Ethernet connection.&lt;br /&gt;
 |url       = https://archive.org/details/bookofirc00char&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;encyclopedia of new media&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
| editor-last = Jones&lt;br /&gt;
| editor-first = Steve&lt;br /&gt;
| title       = Encyclopedia of New Media: An Essential Reference to Communication and Technology&lt;br /&gt;
| url = https://archive.org/details/encyclopediaofne00jone&lt;br /&gt;
| url-access = registration&lt;br /&gt;
| edition     = 1st&lt;br /&gt;
| date        = 10 December 2002&lt;br /&gt;
| publisher   = [[SAGE Publications]]&lt;br /&gt;
| location    = [[Thousand Oaks, California]]&lt;br /&gt;
| isbn        = 978-0-7619-2382-4&lt;br /&gt;
| page        = [https://archive.org/details/encyclopediaofne00jone/page/257 257]&lt;br /&gt;
| chapter     = Internet Relay Chat&lt;br /&gt;
| quote       = Today there are hundreds of independent IRC networks, but the &amp;quot;Big Four&amp;quot; are EFNet, UnderNet, Dalnet, and IRCnet.&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;the imac book&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
| last        = Rittner&lt;br /&gt;
| first       = Don&lt;br /&gt;
| title       = The iMac Book&lt;br /&gt;
| edition     = 1st&lt;br /&gt;
| date        = 3 March 1999&lt;br /&gt;
| publisher   = Coriolis Group&lt;br /&gt;
| location    = [[Scottsdale, Arizona]]&lt;br /&gt;
| isbn        = 978-1-57610-429-3&lt;br /&gt;
| page        = 215&lt;br /&gt;
| quote       = There are several large networks: EFnet, UnderNET, DALnet, and IRCnet make up the Big Four.&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;information technology for management&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
| last1       = Turban&lt;br /&gt;
| first1      = Efraim&lt;br /&gt;
| last2       = Leidner&lt;br /&gt;
| first2      = Dorothy&lt;br /&gt;
| last3       = McLean&lt;br /&gt;
| first3      = Ephraim&lt;br /&gt;
| last4       = Wetherbe&lt;br /&gt;
| first4      = James&lt;br /&gt;
| title       = Information Technology for Management: Transforming Organizations in the Digital Economy&lt;br /&gt;
| edition     = 5th&lt;br /&gt;
| date        = 7 February 2005&lt;br /&gt;
| publisher   = [[John Wiley &amp;amp; Sons]]&lt;br /&gt;
| location    = [[Hoboken, New Jersey]]&lt;br /&gt;
| isbn        = 978-0-471-70522-2&lt;br /&gt;
| pages       = 106&amp;amp;nbsp;– 107&lt;br /&gt;
| chapter     = Communication&lt;br /&gt;
| quote       = The largest networks have traditionally been grouped as the &amp;quot;Big Four&amp;quot;: EFNet, IrcNet, QuakeNet, and UnderNet.&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;—a designation for networks that top the statistics. The Big Four networks change periodically, but due to the community nature of IRC there are a large number of other networks for users to choose from.&lt;br /&gt;
&lt;br /&gt;
Historically the &amp;quot;Big Four&amp;quot; were:&amp;lt;ref name=&amp;quot;the book of irc&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;encyclopedia of new media&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;the imac book&amp;quot; /&amp;gt;&lt;br /&gt;
* [[EFnet]]&lt;br /&gt;
* [[IRCnet]]&lt;br /&gt;
* [[Undernet]]&lt;br /&gt;
* [[DALnet]]&lt;br /&gt;
&lt;br /&gt;
IRC reached 6 million simultaneous users in 2001 and 10 million users in 2004-2005, dropping to around 350k in 2021.{{citation needed}}&lt;br /&gt;
&lt;br /&gt;
{{As of|June 2023}}, the top 11 IRC networks are:&lt;br /&gt;
* [[Libera Chat]]&amp;amp;nbsp;– around 42k users at peak hours&lt;br /&gt;
* [[OFTC]]&amp;amp;nbsp;– around 31k users at peak hours&lt;br /&gt;
* [[IRCnet]]&amp;amp;nbsp;– around 19k users at peak hours&lt;br /&gt;
* [[Undernet]]&amp;amp;nbsp;– around 16k users at peak hours&lt;br /&gt;
* [[EFnet]]&amp;amp;nbsp;– around 11k users at peak hours&lt;br /&gt;
* [[Rizon]]&amp;amp;nbsp;– around 9k users at peak hours&lt;br /&gt;
* [[Freenode]]&amp;amp;nbsp;– around 8k users at peak hours&lt;br /&gt;
* [[ChatZona]]&amp;amp;nbsp;– around 7.4k users at peak hours&lt;br /&gt;
* [[QuakeNet]]&amp;amp;nbsp;– around 7.3k users at peak hours&lt;br /&gt;
* [[DALnet]]&amp;amp;nbsp;– around 7k users at peak hours&lt;br /&gt;
* [[hackint]]&amp;amp;nbsp;– around 6k users at peak hours&lt;br /&gt;
&lt;br /&gt;
The top 100 IRC networks have around 230k users connected at peak hours.&amp;lt;ref name=&amp;quot;netsplitde-top100&amp;quot;&amp;gt;{{cite web |url=http://irc.netsplit.de/networks/top100.php |title=IRC Networks&amp;amp;nbsp;– Top 100 |website=irc.netsplit.de |publisher=netsplit.de |access-date=15 January 2021 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Timeline===&lt;br /&gt;
Timeline of major servers:&lt;br /&gt;
* [[EFnet]], 1990 to present&lt;br /&gt;
* [[Undernet]], 1992 to present&lt;br /&gt;
* [[DALnet]], 1994 to present&lt;br /&gt;
* [[freenode]], 1995 to present&lt;br /&gt;
* [[IRCnet]], 1996 to present&lt;br /&gt;
* [[QuakeNet]], 1997 to present&lt;br /&gt;
* [[Open and Free Technology Community]], 2001 to present&lt;br /&gt;
* [[Rizon]], 2002 to present&lt;br /&gt;
* [[Libera Chat]], 2021 to present&lt;br /&gt;
&lt;br /&gt;
==Technical information==&lt;br /&gt;
{{See also|IRCd}}&lt;br /&gt;
[[File:Hexchat 2.16.0 screenshot.png|right|thumb|A screenshot of [[HexChat]], an IRC client for [[GTK]] environments]]&lt;br /&gt;
[[File:Irssi 1.2.3 screenshot.png|right|thumb|[[Irssi]], a text-based IRC client]]&lt;br /&gt;
IRC is an open [[Network protocol|protocol]] that uses [[Transmission Control Protocol|TCP]]&amp;lt;ref name=&amp;quot;rfc 1459 1 introduction&amp;quot; /&amp;gt; and, optionally, [[Transport Layer Security|TLS]]. An [[IRC server]] can connect to other IRC servers to expand the IRC network.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Servers&lt;br /&gt;
| section     = 1.1&lt;br /&gt;
| page        = 4&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Users access IRC networks by connecting a client to a server.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2810&lt;br /&gt;
|title=Internet Relay Chat: Architecture&lt;br /&gt;
| sectionname = Clients&lt;br /&gt;
| section     = 2.2&lt;br /&gt;
| page        = 3&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; There are many client implementations, such as [[mIRC]], [[HexChat]] and [[irssi]], and server implementations, e.g. the original [[IRCd]]. Most IRC servers do not require users to register an account but a [[Nickname#Computing|nickname]] is required before being connected.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Clients&lt;br /&gt;
| section     = 1.2&lt;br /&gt;
| page        = 5&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IRC was originally a [[Text-based protocol|plain text protocol]]&amp;lt;ref name=&amp;quot;rfc 1459 1 introduction&amp;quot; /&amp;gt; (although later extended), which on request was assigned port [[List of TCP and UDP port numbers|194/TCP]] by [[Internet Assigned Numbers Authority|IANA]].&amp;lt;ref&amp;gt;{{cite web|title=Port Numbers|url=https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&amp;amp;page=5|url-status=live|access-date=5 April 2021|publisher=[[Internet Assigned Numbers Authority]]|location=[[Marina del Rey, California]]}}&amp;lt;/ref&amp;gt; However, the [[de facto standard|&#039;&#039;de facto&#039;&#039; standard]] has always been to run IRC on 6667/TCP&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Connect message&lt;br /&gt;
| section     = 4.3.5&lt;br /&gt;
| page        = 29&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; and nearby port numbers (for example TCP ports 6660–6669, 7000)&amp;lt;ref&amp;gt;{{cite book&lt;br /&gt;
| last1       = Lucas&lt;br /&gt;
| first1      = Mark&lt;br /&gt;
| last2       = Singh&lt;br /&gt;
| first2      = Abhishek&lt;br /&gt;
| last3       = Cantrell&lt;br /&gt;
| first3      = Chris&lt;br /&gt;
| editor-last = Henmi&lt;br /&gt;
| editor-first = Anne&lt;br /&gt;
| title       = Firewall Policies and VPN Configurations&lt;br /&gt;
| date        = 5 October 2006&lt;br /&gt;
| publisher   = Syngress Publishing&lt;br /&gt;
| location    = [[Rockland, Massachusetts]]&lt;br /&gt;
| isbn        = 978-1-59749-088-7&lt;br /&gt;
| page        = 93&lt;br /&gt;
| chapter     = Defining a Firewall&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; to avoid having to run the [[IRCd]] software with [[Superuser|root privileges]].&lt;br /&gt;
&lt;br /&gt;
The protocol specified that characters were 8-bit but did not specify the character encoding the text was supposed to use.&amp;lt;ref name=&amp;quot;rfc 1459 2.2 character codes&amp;quot;&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Character codes&lt;br /&gt;
| section     = 2.2&lt;br /&gt;
| page        = 7&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; This can cause problems when users using different clients and/or different platforms want to converse.&lt;br /&gt;
&lt;br /&gt;
All client-to-server IRC protocols in use today are descended from the protocol implemented in the irc2.4.0 version of the IRC2 server, and documented in RFC 1459. Since RFC 1459 was published, the new features in the irc2.10 implementation led to the publication of several revised protocol documents (RFC 2810, RFC 2811, RFC 2812 and RFC 2813); however, these protocol changes have not been widely adopted among other implementations.{{Citation needed}}&lt;br /&gt;
&lt;br /&gt;
Although many specifications on the IRC protocol have been published, there is no official specification, as the protocol remains dynamic. Virtually no clients and very few servers rely strictly on the above RFCs as a reference.{{Citation needed}}&lt;br /&gt;
&lt;br /&gt;
Microsoft made an extension for IRC in 1998 via the proprietary [[IRCX]].&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| title       = Extensions to the Internet Relay Chat Protocol (IRCX)&lt;br /&gt;
| draft       = draft-pfenning-irc-extensions-04&lt;br /&gt;
| last        = Abraham&lt;br /&gt;
| first       = Dalen&lt;br /&gt;
|date=June 1998&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 8 April 2011&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; They later stopped distributing software supporting IRCX, instead developing the proprietary [[Microsoft Notification Protocol|MSNP]].&lt;br /&gt;
&lt;br /&gt;
The standard structure of a network of IRC servers is a [[Tree network|tree]].&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2810&lt;br /&gt;
|title=Internet Relay Chat: Architecture&lt;br /&gt;
| sectionname = Architecture&lt;br /&gt;
| section     = 3&lt;br /&gt;
| pages       = 3 – 4&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Messages are routed along only necessary branches of the tree but network state is sent to every server&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2810&lt;br /&gt;
|title=Internet Relay Chat: Architecture&lt;br /&gt;
| sectionname = Introduction&lt;br /&gt;
| section     = 1&lt;br /&gt;
| page        = 2&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; and there is generally a high degree of implicit trust between servers. However, this architecture has a number of problems. A misbehaving or malicious server can cause major damage to the network&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Algorithms&lt;br /&gt;
| section     = 9.3&lt;br /&gt;
| page        = 64&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; and any changes in structure, whether intentional or a result of conditions on the underlying network, require a net-split and net-join. This results in a lot of network traffic and spurious quit/join messages to users&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2810&lt;br /&gt;
|title=Internet Relay Chat: Architecture&lt;br /&gt;
| sectionname = Network Congestion&lt;br /&gt;
| section     = 6.3&lt;br /&gt;
| pages       = 7 – 8&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; and temporary loss of communication to users on the splitting servers. Adding a server to a large network means a large background bandwidth load on the network and a large memory load on the server. Once established, however, each message to multiple recipients is delivered in a fashion similar to [[multicast]], meaning each message travels a network link exactly once.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2810&lt;br /&gt;
|title=Internet Relay Chat: Architecture&lt;br /&gt;
| sectionname = To A Channel&lt;br /&gt;
| section     = 5.2.1&lt;br /&gt;
| pages       = 5 – 6&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; This is a strength in comparison to non-multicasting protocols such as [[Simple Mail Transfer Protocol]] (SMTP){{Citation needed}} or [[Extensible Messaging and Presence Protocol]] (XMPP){{Citation needed}}.&lt;br /&gt;
&lt;br /&gt;
An IRC daemon can also be used on a local area network (LAN). IRC can thus be used to facilitate communication between people within the local area network (internal communication).&amp;lt;ref&amp;gt;{{cite web|url=http://computerquestionhelp.com/content/how-guide-setup-your-own-irc-server-using-personal-or-dedicated-system-or-server-top-freewar|title=IRC daemons for LAN|access-date=2 October 2014}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=http://www.irc-wiki.org/IRC_server|title=Running an own IRC server|access-date=2 October 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Commands and replies===&lt;br /&gt;
{{Main|List of Internet Relay Chat commands}}&lt;br /&gt;
IRC has a line-based structure. Clients send single-line messages to the server,&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Message format in &#039;pseudo&#039; BNF&lt;br /&gt;
| section     = 2.3.1&lt;br /&gt;
| page        = 8&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; receive replies to those messages&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Numeric replies&lt;br /&gt;
| section     = 2.4&lt;br /&gt;
| page        = 10&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; and receive copies of some messages sent by other clients. In most clients, users can enter commands by prefixing them with a &#039;/&#039;. Depending on the command, these may either be handled entirely by the client, or (generally for commands the client does not recognize) passed directly to the server, possibly with some modification.&amp;lt;ref&amp;gt;[https://www.disabled-world.com/communication/irc-chat.php IRC Chat Rooms]&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Due to the nature of the protocol, automated systems cannot always correctly pair a sent command with its reply with full reliability and are subject to guessing.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.shanemcc.co.uk/irc/#listmode&lt;br /&gt;
| title       = IRC List Modes – List mode extension showing pair confusion for lists&lt;br /&gt;
| access-date  = 8 April 2011&lt;br /&gt;
| date        = 25 November 2009&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Channels===&lt;br /&gt;
The basic means of communicating to a group of users in an established IRC session is through a &#039;&#039;[[chat room|channel]]&#039;&#039;.&amp;lt;ref name=&amp;quot;rfc 1459 3.2.2 to a group (channel)&amp;quot;&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = To a group (channel)&lt;br /&gt;
| section     = 3.2.2&lt;br /&gt;
| page        = 11&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Channels on a network can be displayed using the IRC command &#039;&#039;LIST&#039;&#039;,&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = List message&lt;br /&gt;
| section     = 4.2.6&lt;br /&gt;
| page        = 24&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; which lists all currently available channels that do not have the modes +s or +p set, on that particular network.&lt;br /&gt;
&lt;br /&gt;
Users can &#039;&#039;join&#039;&#039; a channel using the &#039;&#039;JOIN&#039;&#039; command,&amp;lt;ref name=&amp;quot;rfc 1459 4.2.1 join message&amp;quot;&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Join message&lt;br /&gt;
| section     = 4.2.1&lt;br /&gt;
| page        = 19&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; in most clients available as &#039;&#039;/join #channelname&#039;&#039;. Messages sent to the joined channels are then relayed to all other users.&amp;lt;ref name=&amp;quot;rfc 1459 3.2.2 to a group (channel)&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Channels that are available across an entire IRC network are prefixed with a &#039;#&#039;, while those local to a server use &#039;&amp;amp;&#039;.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2811&lt;br /&gt;
|title=Internet Relay Chat: Channel Management&lt;br /&gt;
| sectionname = Channel Scope&lt;br /&gt;
| section     = 2.2&lt;br /&gt;
| pages       = 3 – 4&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Other less common channel types include &#039;+&#039; channels—&#039;modeless&#039; channels without operators&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2811&lt;br /&gt;
|title=Internet Relay Chat: Channel Management&lt;br /&gt;
| sectionname = Channel Properties&lt;br /&gt;
| section     = 2.3&lt;br /&gt;
| page        = 4&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;—and &#039;!&#039; channels, a form of [[#delay|timestamped]] channel on normally non-timestamped networks.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2811&lt;br /&gt;
|title=Internet Relay Chat: Channel Management&lt;br /&gt;
| sectionname = Channel lifetime&lt;br /&gt;
| section     = 3&lt;br /&gt;
| page        = 5&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modes===&lt;br /&gt;
Users and channels may have &#039;&#039;modes&#039;&#039; that are represented by individual case-sensitive letters&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2811&lt;br /&gt;
|title=Internet Relay Chat: Channel Management&lt;br /&gt;
| sectionname = Channel Modes&lt;br /&gt;
| section     = 4&lt;br /&gt;
| page        = 7&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; and are set using the &#039;&#039;MODE&#039;&#039; command.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Mode message&lt;br /&gt;
| section     = 4.2.3&lt;br /&gt;
| page        = 21&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; User modes and channel modes are separate and can use the same letter to mean different things (e.g. user mode &amp;quot;i&amp;quot; is invisible mode while channel mode &amp;quot;i&amp;quot; is invite only.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Channel modes&lt;br /&gt;
| section     = 4.2.3.1&lt;br /&gt;
| pages       = 21 – 22&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;) Modes are usually set and unset using the mode command that takes a target (user or channel), a set of modes to set (+) or unset (-) and any parameters the modes need.&lt;br /&gt;
&lt;br /&gt;
Some channel modes take parameters and other channel modes apply to a user on a channel or add or remove a mask (e.g. a ban mask) from a list associated with the channel rather than applying to the channel as a whole.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2811&lt;br /&gt;
|title=Internet Relay Chat: Channel Management&lt;br /&gt;
| sectionname = Channel Access Control&lt;br /&gt;
| section     = 4.3&lt;br /&gt;
| pages       = 10 – 11&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Modes that apply to users on a channel have an associated symbol that is used to represent the mode in names replies&amp;lt;ref name=&amp;quot;rfc 1459 p.51 rpl_namreply&amp;quot;&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Command responses: 353 RPL_NAMREPLY&lt;br /&gt;
| page        = 51&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; (sent to clients on first joining a channel&amp;lt;ref name=&amp;quot;rfc 1459 4.2.1 join message&amp;quot; /&amp;gt; and use of the names command) and in many clients also used to represent it in the client&#039;s displayed list of users in a channel or to display an own indicator for a user&#039;s modes.&lt;br /&gt;
&lt;br /&gt;
In order to correctly parse incoming mode messages and track channel state the client must know which mode is of which type and for the modes that apply to a user on a channel which symbol goes with which letter. In early implementations of IRC this had to be hard-coded in the client but there is now a de facto standard extension to the protocol called ISUPPORT that sends this information to the client at connect time using numeric 005.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.irc.org/tech_docs/005.html&lt;br /&gt;
| title       = The 005 numeric: ISUPPORT&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Roeckx&lt;br /&gt;
| first       = Kurt&lt;br /&gt;
| date        = 14 October 2004&lt;br /&gt;
| publisher   = irc.org&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| title       = IRC RPL_ISUPPORT Numeric Definition&lt;br /&gt;
| draft       = draft-brocklesby-irc-isupport-03&lt;br /&gt;
| last        = Brocklesby&lt;br /&gt;
| first       = Edward&lt;br /&gt;
|date=September 2002&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is a small design fault in IRC regarding modes that apply to users on channels: the names message used to establish initial channel state can only send one such mode per user on the channel,&amp;lt;ref name=&amp;quot;rfc 1459 p.51 rpl_namreply&amp;quot; /&amp;gt; but multiple such modes can be set on a single user. For example, if a user holds both operator status (+o) and voice status (+v) on a channel, a new client will be unable to see the mode with less priority (i.e. voice). Workarounds for this are possible on both the client and server side; a common solution is to use IRCv3 &amp;quot;multi-prefix&amp;quot; extension.&amp;lt;ref&amp;gt;{{cite web |url=https://ircv3.net/specs/extensions/multi-prefix |title=`multi-prefix` Extension - IRCv3}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Standard (RFC 1459) modes====&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ User modes&lt;br /&gt;
|-&lt;br /&gt;
! Letter&lt;br /&gt;
! Symbol&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;i&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| Invisible—cannot be seen without a common channel or knowing the exact name&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;s&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| Receives server notices&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;w&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| Receives wallops&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Operwall message&lt;br /&gt;
| section     = 5.6&lt;br /&gt;
| page        = 41&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;o&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| User is an IRC operator (ircop)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Channel modes&lt;br /&gt;
|-&lt;br /&gt;
! Letter&lt;br /&gt;
! Symbol&lt;br /&gt;
! Parameter(s)&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;o&#039;&#039;&#039;&lt;br /&gt;
| @&lt;br /&gt;
| Name of affected user&lt;br /&gt;
| Channel operator—can change channel modes and kick users out of the channel among other things&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;s&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Secret channel—not shown in channel list or user whois except to users already on the channel&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;p&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Private channel—listed in channel list as &amp;quot;prv&amp;quot; according to &amp;lt;nowiki&amp;gt;RFC 1459&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;n&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Users cannot send messages to the channel externally&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;m&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Channel is moderated (only those who hold channel operator or voice status on the channel can send messages to it)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;i&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Only users with invites may enter the channel.&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;t&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
| Only channel operators can change the channel topic.&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;l&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| Limit number&lt;br /&gt;
| Limits number of users able to be on channel (when full, no new users can join)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;b&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| Ban mask (nick!user@host with wildcards allowed)&lt;br /&gt;
| Bans [[hostmask]]s from channel&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;v&#039;&#039;&#039; &amp;lt;!-- That does belong here with the channel modes. It&#039;s not a user mode --&amp;gt;&lt;br /&gt;
| +&lt;br /&gt;
| Name of affected user&lt;br /&gt;
| Gives a user voice status on channel (see +m above)&lt;br /&gt;
|-&lt;br /&gt;
| &#039;&#039;&#039;k&#039;&#039;&#039;&lt;br /&gt;
|&lt;br /&gt;
| New channel key&lt;br /&gt;
| Sets a channel key such that only users knowing the key can enter&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Many daemons and networks have added extra modes or modified the behavior of modes in the above list.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.alien.net.au/irc/usermodes.html&lt;br /&gt;
| title       = IRC User Modes List&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Butcher&lt;br /&gt;
| first       = Simon&lt;br /&gt;
| date        = 12 January 2005&lt;br /&gt;
| publisher   = alien.net.au&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.alien.net.au/irc/chanmodes.html&lt;br /&gt;
| title       = IRC Channel Modes List&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Butcher&lt;br /&gt;
| first       = Simon&lt;br /&gt;
| date        = 12 January 2005&lt;br /&gt;
| publisher   = alien.net.au&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.alien.net.au/irc/servermodes.html&lt;br /&gt;
| title       = IRC Server Modes List&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Butcher&lt;br /&gt;
| first       = Simon&lt;br /&gt;
| date        = 12 January 2005&lt;br /&gt;
| publisher   = alien.net.au&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
 |url          = http://webtoman.com/opera/panel/ircdmodes.html&lt;br /&gt;
 |title        = IRCd Modes&lt;br /&gt;
 |access-date   = 10 April 2011&lt;br /&gt;
|last         = Olsen&lt;br /&gt;
 |first        = Tommy&lt;br /&gt;
 |publisher    = webtoman.com&lt;br /&gt;
 |archive-url  = https://web.archive.org/web/20111015190740/http://webtoman.com/opera/panel/ircdmodes.html&lt;br /&gt;
 |archive-date = 15 October 2011&lt;br /&gt;
|url-status   = dead&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Channel operators===&lt;br /&gt;
A &#039;&#039;channel operator&#039;&#039; is a [[Client (computing)|client]] on an [[IRC channel]] that manages the channel.&lt;br /&gt;
IRC channel operators can be easily seen by the a symbol or icon next to their name (varies by client implementation, commonly a &amp;quot;@&amp;quot; symbol prefix, a green circle, or a Latin letter &amp;quot;+o&amp;quot;/&amp;quot;o&amp;quot;).&lt;br /&gt;
On most networks, an operator can:&lt;br /&gt;
* Kick a user.&lt;br /&gt;
* Ban a user.&lt;br /&gt;
* Give another user IRC Channel Operator Status or IRC Channel Voice Status.&lt;br /&gt;
* Change the IRC Channel topic while channel mode +t is set.&lt;br /&gt;
* Change the IRC Channel Mode locks.&lt;br /&gt;
&lt;br /&gt;
===IRC operators===&lt;br /&gt;
{{main|Internet Relay Chat operator}}&lt;br /&gt;
There are also users who maintain elevated rights on their local server, or the entire network; these are called IRC operators,&amp;lt;ref name=&amp;quot;rfc 1459 1.2.1 operators&amp;quot;&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
|title=Internet Relay Chat Protocol&lt;br /&gt;
| sectionname = Operators&lt;br /&gt;
| section     = 1.2.1&lt;br /&gt;
| page        = 5&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; sometimes shortened to IRCops or Opers (not to be confused with channel operators). As the implementation of the IRCd varies, so do the privileges of the IRC operator on the given IRCd. RFC 1459&amp;lt;ref name=&amp;quot;rfc 1459 1.2.1 operators&amp;quot; /&amp;gt; claims that IRC operators are &amp;quot;a necessary evil&amp;quot; to keep a clean state of the network, and as such they need to be able to disconnect and reconnect servers. Additionally, to prevent malicious users or even harmful automated programs from entering IRC, IRC operators are usually allowed to disconnect clients and completely ban IP addresses or complete subnets. Networks that carry services (NickServ et al.) usually allow their IRC operators also to handle basic &amp;quot;ownership&amp;quot; matters. Further privileged rights may include overriding channel bans (being able to join channels they would not be allowed to join, if they were not opered), being able to op themselves on channels where they would not be able without being opered, being auto-opped on channels always and so forth.&lt;br /&gt;
&lt;br /&gt;
===Hostmasks===&lt;br /&gt;
A hostmask is a unique identifier of an IRC [[client (computing)|client]] connected to an IRC [[Server (computing)|server]].&amp;lt;ref name=&amp;quot;thiedeke-2003&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
| last        = Thiedeke&lt;br /&gt;
| first       = Udo&lt;br /&gt;
| title       = Virtuelle Gruppen: Charakteristika und Problemdimensionen&lt;br /&gt;
| chapter-url         = https://books.google.com/books?id=aQ74THYRyYsC&amp;amp;q=hostmask&amp;amp;pg=PA315&lt;br /&gt;
| access-date  = 30 March 2010&lt;br /&gt;
| edition     = 2nd&lt;br /&gt;
| date        = 23 September 2003&lt;br /&gt;
| publisher   = {{Interlanguage link multi|Springer VS|de}}&lt;br /&gt;
| language    = de&lt;br /&gt;
| isbn        = 978-3-531-33372-4&lt;br /&gt;
| pages       = 314, 337&lt;br /&gt;
| chapter     = Nicola Döring, Alexander Schestag&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;rogers-2005&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
| last        = Rogers&lt;br /&gt;
| first       = Russ&lt;br /&gt;
| editor-last = Devost&lt;br /&gt;
| editor-first = Matthew G.&lt;br /&gt;
| title       = Hacking a Terror Network: The Silent Threat of Covert Channels&lt;br /&gt;
| chapter-url         = https://books.google.com/books?id=e3ggsGgTzUgC&amp;amp;q=Hostmask+IRC&amp;amp;pg=PA10&lt;br /&gt;
| access-date  = 30 March 2010&lt;br /&gt;
| edition     = 1st&lt;br /&gt;
| date        = 1 December 2004&lt;br /&gt;
| publisher   = Syngress Publishing&lt;br /&gt;
| location    = [[Rockland, Massachusetts]]&lt;br /&gt;
| isbn        = 978-1-928994-98-5&lt;br /&gt;
| page        = 10&lt;br /&gt;
| chapter     = The Mind of Terror&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; IRC [[IRCd|servers]], [[Internet Relay Chat services|services]], and other clients, including [[Internet Relay Chat bot|bots]], can use it to identify a specific IRC session.&lt;br /&gt;
&lt;br /&gt;
The format of a hostmask is &amp;lt;code&amp;gt;nick!user@host&amp;lt;/code&amp;gt;. The hostmask looks similar to, but should not be confused with an [[e-mail address]].&lt;br /&gt;
&lt;br /&gt;
The nick part is the nickname chosen by the user and may be changed while connected.&lt;br /&gt;
The user part is the username reported by [[ident protocol|ident]] on the client.&amp;lt;ref name=&amp;quot;petersen-2002&amp;quot;&amp;gt;{{cite book&lt;br /&gt;
| editor-last = Petersen&lt;br /&gt;
| editor-first = Julie K.&lt;br /&gt;
| title       = The Telecommunications Illustrated Dictionary&lt;br /&gt;
| chapter-url         = https://books.google.com/books?id=b2mMzS0hCkAC&amp;amp;q=Hostmask&amp;amp;pg=PA500&lt;br /&gt;
| access-date  = 30 March 2010&lt;br /&gt;
| edition     = 2nd&lt;br /&gt;
| date        = 29 May 2002&lt;br /&gt;
| publisher   = [[CRC Press]]&lt;br /&gt;
| isbn        = 978-0-8493-1173-4&lt;br /&gt;
| page        = 500&lt;br /&gt;
| chapter     = Internet Relay Chat&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; If ident is not available on the client, the username specified when the client connected is used after being prefixed with a [[tilde]].&amp;lt;ref name=&amp;quot;freenode faq&amp;quot;&amp;gt;{{cite web&lt;br /&gt;
| url         = http://freenode.net/faq.shtml&lt;br /&gt;
| title         = Frequently-Asked Questions&lt;br /&gt;
| access-date         = 30 March 2010&lt;br /&gt;
| publisher         = [[freenode]]&lt;br /&gt;
| archive-url         = https://web.archive.org/web/20100326082146/http://freenode.net/faq.shtml&lt;br /&gt;
| archive-date         = 26 March 2010&lt;br /&gt;
| url-status         = dead&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The host part is the [[hostname]] the client is connecting from. If the [[IP address]] of the client cannot be resolved to a valid [[hostname]] by the server, it is used instead of the hostname.&lt;br /&gt;
&lt;br /&gt;
Because of the [[privacy]] implications of exposing the IP address or hostname of a client, some [[IRCd|IRC daemons]] also provide privacy features, such as InspIRCd or UnrealIRCd&#039;s &amp;quot;+x&amp;quot; mode. This [[Cryptographic hash function|hashes]] a client IP address or masks part of a client&#039;s hostname, making it unreadable to users other than [[#IRC operators|IRCops]]. Users may also have the option of requesting a &amp;quot;virtual host&amp;quot; (or &amp;quot;vhost&amp;quot;), to be displayed in the hostmask to allow further anonymity. Some IRC networks, such as [[Libera Chat]] or [[Freenode]], use these as &amp;quot;cloaks&amp;quot; to indicate that a user is affiliated with a group or project.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url        = http://meta.wikimedia.org/wiki/IRC/Cloaks&lt;br /&gt;
| title      = IRC/Cloaks&lt;br /&gt;
| access-date = 27 November 2011&lt;br /&gt;
| publisher  = [[Meta-wiki]]&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===URI scheme===&lt;br /&gt;
There are three provisional recognized [[Uniform resource identifier|uniform resource identifier (URI)]] schemes for Internet Relay Chat: &amp;lt;code&amp;gt;irc&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ircs&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;irc6&amp;lt;/code&amp;gt;.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
 | url        = https://www.iana.org/assignments/uri-schemes.html&lt;br /&gt;
 | title      = Uniform Resource Identifier (URI) Schemes&lt;br /&gt;
 | publisher  = Internet Assigned Numbers Authority | access-date = 14 October 2012&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; When supported, they allow [[hyperlink]]s of various forms, including&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;irc://&amp;lt;host&amp;gt;[:&amp;lt;port&amp;gt;]/[&amp;lt;channel&amp;gt;[?&amp;lt;channel_keyword&amp;gt;]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ircs://&amp;lt;host&amp;gt;[:&amp;lt;port&amp;gt;]/[&amp;lt;channel&amp;gt;[?&amp;lt;channel_keyword&amp;gt;]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;irc6://&amp;lt;host&amp;gt;[:&amp;lt;port&amp;gt;]/[&amp;lt;channel&amp;gt;[?&amp;lt;channel_keyword&amp;gt;]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
(where items enclosed within brackets ([,]) are optional) to be used to (if necessary) connect to the specified host (or network, if known to the IRC client) and join the specified channel.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| title       = Uniform Resource Locator Schemes for Internet Relay Chat Entities&lt;br /&gt;
| draft       = draft-butcher-irc-url-04&lt;br /&gt;
| last        = Butcher&lt;br /&gt;
| first       = Simon&lt;br /&gt;
|date=January 2003&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; (This can be used within the client itself, or from another application such as a Web browser). irc is the default URI, irc6 specifies a connection to be made using IPv6, and ircs specifies a secure connection.&lt;br /&gt;
&lt;br /&gt;
Per the specification, the usual [[hash symbol]] (#) will be prepended to channel names that begin with an [[alphanumeric]] character—allowing it to be omitted. Some implementations (for example, mIRC) will do so &#039;&#039;unconditionally&#039;&#039; resulting in a (usually unintended) extra (for example, ##channel), if included in the URL.&lt;br /&gt;
&lt;br /&gt;
Some implementations allow multiple channels to be specified, separated by commas.&amp;lt;ref&amp;gt;{{cite web |url=https://www.npmjs.com/package/node-irc |title=node-irc |website=npm |access-date=30 July 2021 |url-status=live}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Challenges==&lt;br /&gt;
Issues in the original design of IRC were the amount of shared state data&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1324&lt;br /&gt;
|title=A Discussion on Computer Network Conferencing&lt;br /&gt;
| sectionname = Size&lt;br /&gt;
| section     = 2.5.1&lt;br /&gt;
| pages       = 5 – 6&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 2810&lt;br /&gt;
|title=Internet Relay Chat: Architecture&lt;br /&gt;
| sectionname = Scalability&lt;br /&gt;
| section     = 6.1&lt;br /&gt;
| page        = 7&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; being a limitation on its scalability,&amp;lt;ref&amp;gt;{{harvnb|Loesch|2003}} 1.2.1 Growth&amp;lt;/ref&amp;gt; the absence of unique user identifications leading to the nickname collision problem,&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1324&lt;br /&gt;
|title=A Discussion on Computer Network Conferencing&lt;br /&gt;
| sectionname = User identification&lt;br /&gt;
| section     = 5.4.1&lt;br /&gt;
| page        = 10&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; lack of protection from [[netsplit]]s by means of cyclic routing,&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1324&lt;br /&gt;
|title=A Discussion on Computer Network Conferencing&lt;br /&gt;
| sectionname = Trees and cycles&lt;br /&gt;
| section     = 5.4.2&lt;br /&gt;
| page        = 10&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{harvnb|Loesch|2003}} 1.2.2 Network failures&amp;lt;/ref&amp;gt; the trade-off in scalability for the sake of real-time user presence information,&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1324&lt;br /&gt;
|title=A Discussion on Computer Network Conferencing&lt;br /&gt;
| sectionname = State Information problems&lt;br /&gt;
| section     = 2.1&lt;br /&gt;
| page        = 4&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; protocol weaknesses providing a platform for abuse,&amp;lt;ref&amp;gt;{{harvnb|Loesch|2003}} 1.2.3 Sociological and security aspects&amp;lt;/ref&amp;gt; no transparent and optimizable message passing,&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1324&lt;br /&gt;
|title=A Discussion on Computer Network Conferencing&lt;br /&gt;
| sectionname = Message passing&lt;br /&gt;
| section     = 5.2.1&lt;br /&gt;
| page        = 7&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; and no encryption.&amp;lt;ref&amp;gt;{{cite IETF&lt;br /&gt;
| rfc         = 1324&lt;br /&gt;
|title=A Discussion on Computer Network Conferencing&lt;br /&gt;
| sectionname = Conference security&lt;br /&gt;
| section     = 5.2.4&lt;br /&gt;
| page        = 8&lt;br /&gt;
| idanchor    = ietf&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Some of these issues have been addressed in &#039;&#039;Modern IRC&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Attacks===&lt;br /&gt;
Because IRC connections may be unencrypted and typically span long time periods, they are an attractive target for [[Denial-of-service attack|DoS/DDoS attackers]] and [[Hacker (computer security)|hackers]]. Because of this, careful security policy is necessary to ensure that an IRC network is not susceptible to an attack such as a [[Internet Relay Chat takeover|takeover]] war. IRC networks may also [[K-line (IRC)|K-line]] or [[G-line]] users or servers that have a harming effect.&lt;br /&gt;
&lt;br /&gt;
Some IRC servers support [[Transport Layer Security|SSL/TLS]] connections for security purposes. This helps stop the use of [[packet sniffer]] programs to obtain the passwords of IRC users, but has little use beyond this scope due to the public nature of IRC channels. SSL connections require both client and server support (that may require the user to install SSL binaries and IRC client specific patches or modules on their computers). Some networks also use SSL for server-to-server connections, and provide a special channel flag (such as &amp;lt;code&amp;gt;+S&amp;lt;/code&amp;gt;) to only allow SSL-connected users on the channel, while disallowing operator identification in clear text, to better utilize the advantages that SSL provides.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
 | url        = http://esper.net/help.php&lt;br /&gt;
 | title      = Getting Help on EsperNet&lt;br /&gt;
 | publisher  = The EsperNet IRC Network&lt;br /&gt;
 | access-date = 31 July 2012&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
 | url        = http://www.dal.net/news/shownews.php?id=67&lt;br /&gt;
 | title      = New Feature: SSL For Users&lt;br /&gt;
 | author     = brandon&lt;br /&gt;
 | date       = 18 May 2010&lt;br /&gt;
| publisher  = DALnet&lt;br /&gt;
 | access-date = 31 July 2012&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IRC served as an early laboratory for many kinds of Internet attacks, such as using fake [[Internet Control Message Protocol|ICMP]] unreachable messages to break [[Transmission Control Protocol|TCP]]-based IRC connections ([[Nuke (computer)|nuking]]) to annoy users or facilitate [[Internet Relay Chat takeover|takeovers]].&lt;br /&gt;
&lt;br /&gt;
===Abuse prevention===&lt;br /&gt;
One of the most contentious technical issues surrounding IRC implementations, which survives to this day, is the merit of &amp;quot;Nick/Channel Delay&amp;quot; vs. &amp;quot;Timestamp&amp;quot; protocols. Both methods exist to solve the problem of denial-of-service attacks, but take very different approaches.&lt;br /&gt;
The problem with the original IRC protocol as implemented was that when two servers split and rejoined, the two sides of the network would simply merge their channels. If a user could join on a &amp;quot;split&amp;quot; server, where a channel that existed on the other side of the network was empty, and gain operator status, they would become a channel operator of the &amp;quot;combined&amp;quot; channel after the [[netsplit]] ended; if a user took a nickname that existed on the other side of the network, the server would kill both users when rejoining (a &amp;quot;nick collision&amp;quot;). This was often abused to &amp;quot;mass-kill&amp;quot; all users on a channel, thus creating &amp;quot;opless&amp;quot; channels where no operators were present to deal with abuse. Apart from causing problems within IRC, this encouraged people to conduct denial-of-service attacks against IRC servers in order to cause [[netsplit]]s, which they would then abuse.&lt;br /&gt;
&lt;br /&gt;
{{anchor|delay}}&lt;br /&gt;
The &#039;&#039;&#039;nick delay&#039;&#039;&#039; (ND) and &#039;&#039;&#039;channel delay&#039;&#039;&#039; (CD) strategies aim to prevent abuse by delaying reconnections and renames. After a user signs off and the [[nickname]] becomes available, or a channel ceases to exist because all its users parted (as often happens during a [[netsplit]]), the server will not allow any user to use that nickname or join that channel, until a certain period of time (the &#039;&#039;delay&#039;&#039;) has passed. The idea behind this is that even if a [[netsplit]] occurs, it is useless to an abuser because they cannot take the nickname or gain operator status on a channel, and thus no collision of a nickname or &amp;quot;merging&amp;quot; of a channel can occur. To some extent, this inconveniences legitimate users, who might be forced to briefly use a different name after rejoining (appending an [[underscore]] is popular).&lt;br /&gt;
&lt;br /&gt;
The timestamp protocol is an alternative to nick/channel delays which resolves collisions using timestamped priority. Every nickname and channel on the network is assigned a timestamp{{spaced ndash}}the date and time when it was created. When a netsplit occurs, two users on each side are free to use the same nickname or channel, but when the two sides are joined, only one can survive. In the case of nicknames, the newer user, according to their TS, is killed; when a channel collides, the members (users on the channel) are merged, but the channel operators on the &amp;quot;losing&amp;quot; side of the split lose their channel operator status.&lt;br /&gt;
&lt;br /&gt;
TS is a much more complicated protocol than ND/CD, both in design and implementation, and despite having gone through several revisions, some implementations still have problems with &amp;quot;desyncs&amp;quot; (where two servers on the same network disagree about the current state of the network), and allowing too much leniency in what was allowed by the &amp;quot;losing&amp;quot; side. Under the original TS protocols, for example, there was no protection against users setting bans or other modes in the losing channel that would then be merged when the split rejoined, even though the users who had set those modes lost their channel operator status. Some modern TS-based IRC servers have also incorporated some form of ND and/or CD in addition to timestamping in an attempt to further curb abuse.&lt;br /&gt;
&lt;br /&gt;
Most networks today use the timestamping approach. The timestamp versus ND/CD disagreements caused several servers to split away from [[EFnet]] and form the newer [[IRCnet]]. After the split, EFnet moved to a TS protocol, while IRCnet used ND/CD.&lt;br /&gt;
&lt;br /&gt;
In recent versions of the IRCnet ircd, as well as ircds using the TS6 protocol (including Charybdis), ND has been extended/replaced by a mechanism called SAVE. This mechanism assigns every client a [[Unique identifier|UID]] upon connecting to an IRC server. This ID starts with a number, which is forbidden in nicks (although some ircds, namely IRCnet and InspIRCd, allow clients to switch to their own UID as the nickname).&lt;br /&gt;
&lt;br /&gt;
If two clients with the same nickname join from different sides of a netsplit (&amp;quot;nick collision&amp;quot;), the first server to see this collision will force &#039;&#039;both&#039;&#039; clients to change their nick to their UID, thus saving both clients from being disconnected. On IRCnet, the nickname will also be locked for some time (ND) to prevent both clients from changing back to the original nickname, thus colliding again.&lt;br /&gt;
&lt;br /&gt;
==Clients==&lt;br /&gt;
&lt;br /&gt;
===Client software===&lt;br /&gt;
{{Details|Comparison of Internet Relay Chat clients}}&lt;br /&gt;
[[File:Ircnetz-Schema.svg|right|thumb|Scheme of an IRC network with [[Client (computing)|normal clients]] (green), [[IRC bot|bots]] (blue) and [[Bouncer (networking)|bouncers]] (orange)]]&lt;br /&gt;
&lt;br /&gt;
Client software exists for various [[operating system]]s or software packages, as well as web-based or inside games. Many different clients are available for the various operating systems, including [[Microsoft Windows|Windows]], [[Unix]] and [[Linux]], [[macOS]] and mobile operating systems (such as [[iOS]] and [[Android (operating system)|Android]]). On Windows, [[mIRC]] is one of the most popular clients.&amp;lt;ref&amp;gt;{{cite book|last=Smith|first=Roderick W.|title=The Multi-Boot Configuration Handbook|chapter-url=https://books.google.com/books?id=OuPtI5fHhBoC|access-date=25 July 2010|series=Handbook Series|publisher=[[Que Publishing]]|location=[[Upper Saddle River, New Jersey]]|isbn=978-0-7897-2283-6|page=[https://archive.org/details/isbn_9780789722836/page/289 289]|chapter=The Internet: Using IRC to Get Help|quote=mIRC is one of the most popular Windows IRC clients.|url=https://archive.org/details/isbn_9780789722836/page/289}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Some programs which are extensible through [[plug-in (computing)|plug-ins]] also serve as platforms for IRC clients. For instance, a client called [[ERC (software)|ERC]], written entirely in [[Emacs Lisp]], is included in v.22.3 of Emacs. Therefore, any platform that can run Emacs can run ERC.&lt;br /&gt;
&lt;br /&gt;
A number of [[web browser]]s have built-in IRC clients, such as:&lt;br /&gt;
* [[Opera (web browser)|Opera]] ([[Features of the Opera web browser#Legacy features|version 12.18 and earlier]])&amp;lt;ref&amp;gt;{{cite web| url=http://operawiki.info/OperaIRC| title=Opera Browser Wiki: IRC Client| access-date=10 April 2011| archive-url=https://web.archive.org/web/20110317014824/http://operawiki.info/OperaIRC| archive-date=17 March 2011| url-status=dead}}&amp;lt;/ref&amp;gt; and the&lt;br /&gt;
* [[ChatZilla]] add-on for Mozilla [[Firefox]] (for Firefox 56 and earlier; included as a built-in component of [[SeaMonkey]]).&lt;br /&gt;
Web-based clients, such as [[Mibbit]] and open source KiwiIRC, can run in most browsers.&lt;br /&gt;
&lt;br /&gt;
Games such as &#039;&#039;[[War§ow]]&#039;&#039;,&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.warsow.net/wiki/index.php?title=IRC_Module&lt;br /&gt;
| title         = Warsow Wiki: IRC Module&lt;br /&gt;
| access-date         = 10 April 2011&lt;br /&gt;
| archive-url         = https://web.archive.org/web/20110425010535/http://www.warsow.net/wiki/index.php?title=IRC_Module&lt;br /&gt;
| archive-date         = 25 April 2011&lt;br /&gt;
| url-status         = dead&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; &#039;&#039;[[Unreal Tournament]]&#039;&#039; (up to [[Unreal Tournament 2004]]),&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.bcchardware.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=35&amp;amp;Itemid=40&lt;br /&gt;
| title       = UT2004 Review&lt;br /&gt;
| access-date = 10 April 2011&lt;br /&gt;
| last        = Guenter&lt;br /&gt;
| first       = Daniel&lt;br /&gt;
| date        = 21 June 2004&lt;br /&gt;
| publisher   = BCCHardware&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; &#039;&#039;[[Uplink (video game)|Uplink]]&#039;&#039;,&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://guide.modlink.net/section11.php&lt;br /&gt;
| title       = The Ultimate Uplink Guide&lt;br /&gt;
| access-date = 10 April 2011&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; &#039;&#039;[[Spring Engine]]&#039;&#039;-based games, [[0 A.D. (video game)|0 A.D.]] and &#039;&#039;ZDaemon&#039;&#039; have included IRC.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = https://doomwiki.org/wiki/ZDaemon#Other_utilities&lt;br /&gt;
| title       = ZDaemon – The Doom Wiki: Other utilities&lt;br /&gt;
| access-date = 10 April 2011&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Ustream]]&#039;s chat interface is [[IRC]] with custom authentication&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
 |url          = http://ustream-helpers.com/how-to/ircclient&lt;br /&gt;
 |title        = How to setup &amp;amp;#91;sic&amp;amp;#93; an IRC client to connect and login &amp;amp;#91;sic&amp;amp;#93; to Ustream&lt;br /&gt;
 |access-date  = 27 April 2013&lt;br /&gt;
|date         = 29 January 2012&lt;br /&gt;
|publisher    = Ustream-Helpers&lt;br /&gt;
 |archive-date = 21 March 2013&lt;br /&gt;
|archive-url  = https://web.archive.org/web/20130321161543/http://ustream-helpers.com/how-to/ircclient&lt;br /&gt;
 |url-status   = dead&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; as well as [[Twitch (service)|Twitch]]&#039;s (formerly Justin.tv).&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.liquidsilver.org/2010/06/ustream-v-justin/&lt;br /&gt;
| title       = Ustream vs. Justin.tv&lt;br /&gt;
| access-date = 13 July 2011&lt;br /&gt;
| date        = 20 June 2010&lt;br /&gt;
| publisher   = LiquidSilver&lt;br /&gt;
| author      = Mauldor&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
|title=Twitch IRC&lt;br /&gt;
|url=https://help.twitch.tv/customer/portal/articles/1302780-twitch-irc&lt;br /&gt;
|website=Twitch Help Center&lt;br /&gt;
|access-date=30 October 2017&lt;br /&gt;
|date=7 April 2017&lt;br /&gt;
|archive-date=12 February 2019&lt;br /&gt;
|archive-url=https://web.archive.org/web/20190212150600/https://help.twitch.tv/customer/portal/articles/1302780-twitch-irc&lt;br /&gt;
|url-status=dead&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Bots===&lt;br /&gt;
{{Main|IRC bot}}&lt;br /&gt;
A typical use of bots in IRC is to provide [[Internet Relay Chat services|IRC services]] or specific functionality within a channel such as to host a chat-based game or provide notifications of external events. However, some IRC bots are used to launch malicious attacks such as denial of service, spamming, or exploitation.&amp;lt;ref&amp;gt;{{cite web|last1=Canavan|first1=John|title=The Evolution of Malicious IRC Bots|url=http://www.symantec.com/avcenter/reference/the.evolution.of.malicious.irc.bots.pdf|website=www.symantec.com|publisher=Symantec Security Response}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Bouncer===&lt;br /&gt;
{{Main|BNC (software)}}&lt;br /&gt;
A program that runs as a [[daemon (computer software)|daemon]] on a [[Server (computing)|server]] and functions as a persistent [[proxy server|proxy]] is known as a BNC or bouncer. The purpose is to maintain a connection to an IRC server, acting as a relay between the server and client, or simply to act as a proxy.{{Citation needed}} Should the client lose network connectivity, the BNC may stay connected and archive all traffic for later delivery, allowing the user to resume their IRC session without disrupting their connection to the server.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.psybnc.at/readme.txt&lt;br /&gt;
| title       = psyBNC Readme&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| publisher   = psybnc.at&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, as a way of obtaining a bouncer-like effect, an IRC client (typically [[text-based]], for example [[Irssi]]) may be run on an always-on server to which the user connects via [[secure shell|ssh]]. This also allows devices that only have ssh functionality, but no actual IRC client installed themselves, to connect to the IRC, and it allows sharing of IRC sessions.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://chriscarey.com/wordpress/2009/07/18/irc-with-irssi-proxy-screen/&lt;br /&gt;
| title       = IRC with irssi-proxy + screen&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Carey&lt;br /&gt;
| first       = Chris&lt;br /&gt;
| date        = 18 July 2009&lt;br /&gt;
| publisher   = chriscarey.com&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To keep the IRC client from quitting when the ssh connection closes, the client can be run inside a [[terminal multiplexer]] such as [[GNU Screen]] or [[tmux]], thus staying connected to the IRC network(s) constantly and able to log conversation in channels that the user is interested in, or to maintain a channel&#039;s presence on the network. Modelled after this setup, in 2004 an IRC client following the [[client–server model|client–server]], called [[Smuxi]], was launched.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.smuxi.org/blog/show/Detachable_Frontend_Core_Rewrite__UML__Windows_Port_kicking_Glade&lt;br /&gt;
| title       = Detachable Frontend (Core Rewrite) / UML / Windows Port (kicking Glade)&lt;br /&gt;
| access-date  = 25 July 2010&lt;br /&gt;
| date        = 25 December 2004&lt;br /&gt;
| publisher   = smuxi.org&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.smuxi.org/page/About&lt;br /&gt;
| title       = About Smuxi&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| publisher   = smuxi.org&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Search engines==&lt;br /&gt;
There are numerous search engines available to aid the user in finding what they are looking for on IRC.&amp;lt;ref&amp;gt;{{cite book&lt;br /&gt;
| last        = Mutton&lt;br /&gt;
| first       = Paul&lt;br /&gt;
| title       = IRC Hacks&lt;br /&gt;
| edition     = 1st&lt;br /&gt;
| date        = 27 July 2004&lt;br /&gt;
| publisher   = [[O&#039;Reilly Media]]&lt;br /&gt;
| location    = [[Sebastopol, California]]&lt;br /&gt;
| isbn        = 978-0-596-00687-7&lt;br /&gt;
| pages       = 44–46&lt;br /&gt;
| chapter     = Users and Channels&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |last      = Wang&lt;br /&gt;
 |first     = Wallace&lt;br /&gt;
 |title     = Steal this File Sharing Book&lt;br /&gt;
 |edition   = 1st&lt;br /&gt;
 |date      = 25 October 2004&lt;br /&gt;
|publisher = [[No Starch Press]]&lt;br /&gt;
 |location  = [[San Francisco, California]]&lt;br /&gt;
 |isbn      = 978-1-59327-050-6&lt;br /&gt;
 |pages     = [https://archive.org/details/stealthisfilesha00wang/page/65 65–67]&lt;br /&gt;
 |chapter   = Instant Messaging and Online Chat Rooms: Internet Relay Chat (IRC)&lt;br /&gt;
 |chapter-url       = https://archive.org/details/stealthisfilesha00wang/page/65&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; Generally the search engine consists of two parts, a &amp;quot;back-end&amp;quot; (or &amp;quot;spider/crawler&amp;quot;) and a front-end &amp;quot;search engine&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The back-end (spider/webcrawler) is the work horse of the search engine. It is responsible for crawling IRC servers to index the information being sent across them. The information that is indexed usually consists solely of channel text (text that is publicly displayed in public channels). The storage method is usually some sort of relational database, like [[MySQL]] or [[Oracle database|Oracle]].{{Citation needed}}&lt;br /&gt;
&lt;br /&gt;
The front-end &amp;quot;search engine&amp;quot; is the user interface to the database. It supplies users with a way to search the database of indexed information to retrieve the data they are looking for. These front-end search engines can also be coded in numerous programming languages.&lt;br /&gt;
&lt;br /&gt;
Most search engines have their own spider that is a single application responsible for crawling IRC and indexing data itself; however, others are &amp;quot;user based&amp;quot; indexers. The latter rely on users to install their &amp;quot;add-on&amp;quot; to their IRC client; the add-on is what sends the database the channel information of whatever channels the user happens to be on.{{Citation needed}}&lt;br /&gt;
&lt;br /&gt;
Many users have implemented their own [[ad hoc]] search engines using the logging features built into many IRC clients. These search engines are usually implemented as bots and dedicated to a particular channel or group of associated channels.&lt;br /&gt;
&lt;br /&gt;
==Character encoding==&lt;br /&gt;
IRC still lacks a single globally accepted standard convention for how to transmit characters outside the 7-bit [[ASCII]] repertoire.&lt;br /&gt;
IRC servers normally{{Clarify}} transfer messages from a client to another client just as byte sequences, without any interpretation or recoding of [[character (computing)|characters]]. The IRC protocol (unlike e.g. [[MIME]] or [[HTTP]]) lacks mechanisms for announcing and negotiating character encoding options. This has put the responsibility for choosing the appropriate character codec on the client. In practice, IRC channels have largely used the same character encodings that were also used by operating systems (in particular [[Unix]] derivatives) in the respective language communities:&lt;br /&gt;
* &#039;&#039;&#039;7-bit era:&#039;&#039;&#039; In the early days of IRC, especially among [[North Germanic languages|Scandinavian]] and [[Finnish language]] users, national variants of [[ISO 646]] were the dominant [[character encoding]]s. These encode non-ASCII characters like Ä Ö Å ä ö å at code positions 0x5B 0x5C 0x5D 0x7B 0x7C 0x7D ([[US-ASCII]]: &#039;&#039;&#039;[&#039;&#039;&#039; &#039;&#039;&#039;\&#039;&#039;&#039; &#039;&#039;&#039;]&#039;&#039;&#039; &#039;&#039;&#039;{&#039;&#039;&#039; &#039;&#039;&#039;|&#039;&#039;&#039; &#039;&#039;&#039;}&#039;&#039;&#039;). That is why these codes are always allowed in nicknames. According to RFC 1459, { | } in nicknames should be treated as lowercase equivalents of [ \ ] respectively.&amp;lt;ref name=&amp;quot;rfc 1459 2.2 character codes&amp;quot; /&amp;gt; By the late 1990s, the use of 7-bit encodings had disappeared in favour of [[ISO 8859-1]], and such equivalence mappings were dropped from some IRC daemons.&lt;br /&gt;
* &#039;&#039;&#039;8-bit era:&#039;&#039;&#039; Since the early 1990s, 8-bit encodings such as [[ISO 8859-1]] have become commonly used for European languages. Russian users had a choice of [[KOI8-R]], [[ISO 8859-5]]{{Citation needed}}&amp;lt;!-- Some networks offer MacCyrillic under the name «ISO 8859-5». But MacCyrillic has virtually nothing common with ISO 8859-5, this naming confusion just indicates the depth of programmers&#039; ignorance. --Incnis Mrsi --&amp;gt; and [[CP1251]], and since about 2000, modern Russian IRC networks convert between these different commonly used encodings of the [[Cyrillic script]].&lt;br /&gt;
* &#039;&#039;&#039;Multi-byte era:&#039;&#039;&#039; For a long time, East Asian IRC channels with logographic scripts in China, Japan, and Korea have been using multi-byte encodings such as [[Extended Unix Code|EUC]] or [[ISO-2022-JP]]. With the common migration from ISO 8859 to [[UTF-8]] on Linux and Unix platforms since about 2002, UTF-8 has become an increasingly popular substitute for many of the previously used 8-bit encodings in European channels. Some IRC clients are now capable of reading messages both in ISO 8859-1 or UTF-8 in the same channel, heuristically autodetecting which encoding is used. The shift to UTF-8 began in particular on Finnish-speaking IRC ([[:fi:IRC#Merkistö|Merkistö]] &amp;lt;small&amp;gt;(Finnish)&amp;lt;/small&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
Today, the UTF-8 encoding of [[Unicode]]/[[ISO 10646]] would be the most likely contender for a single future standard character encoding for all IRC communication, if such standard ever relaxed the 510-byte message size restriction. UTF-8 is ASCII compatible and covers the superset of all other commonly used [[coded character set]] standards.&lt;br /&gt;
&lt;br /&gt;
==File sharing==&lt;br /&gt;
Much like conventional [[Peer-to-peer|P2P]] file sharing, users can create file servers that allow them to share files with each other by using customised [[IRC bot]]s or scripts for their [[IRC client]]. Often users will group together to distribute [[warez]] via a network of IRC bots.&amp;lt;ref&amp;gt;{{cite news&lt;br /&gt;
| url         = http://www.zdnet.com/news/pirated-movies-now-playing-on-a-server-near-you/122663&lt;br /&gt;
| title       = Pirated movies: Now playing on a server near you&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Vamosi&lt;br /&gt;
| first       = Robert&lt;br /&gt;
| date        = 8 May 2002&lt;br /&gt;
| work   = [[ZDNet]]&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Technically, IRC provides no [[file transfer]] mechanisms itself; file sharing is implemented by IRC &#039;&#039;clients&#039;&#039;, typically using the [[Direct Client-to-Client]] (DCC) protocol, in which file transfers are negotiated through the exchange of private messages between clients. The vast majority of IRC clients feature support for DCC file transfers, hence the view that file sharing is an integral feature of IRC.&amp;lt;ref&amp;gt;{{cite web&lt;br /&gt;
| url         = http://www.macobserver.com/tip/2002/04/04.1.shtml&lt;br /&gt;
| title       = IRC 101: What Is It &amp;amp; How Do I Use It?&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Sasaki&lt;br /&gt;
| first       = Darla&lt;br /&gt;
| date        = 4 April 2002&lt;br /&gt;
| publisher   = Macobserver.com&lt;br /&gt;
}}&amp;lt;/ref&amp;gt; The commonplace usage of this protocol, however, sometimes also causes DCC spam. DCC commands have also been used to exploit vulnerable clients into performing an action such as disconnecting from the server or exiting the client.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Chat room]]&lt;br /&gt;
* [[Client-to-client protocol]]&lt;br /&gt;
* [[Comparison of instant messaging protocols]]&lt;br /&gt;
* [[Comparison of Internet Relay Chat clients|Comparison of IRC clients]]&lt;br /&gt;
* [[Comparison of mobile Internet Relay Chat clients|Comparison of mobile IRC clients]]&lt;br /&gt;
&amp;lt;!-- * [[Comparison of IRC services]] --&amp;gt;&lt;br /&gt;
* [[The Hamnet Players]]&lt;br /&gt;
* [[Internet slang]]&lt;br /&gt;
* [[List of IRC commands]]&lt;br /&gt;
* [[Serving channel]]&lt;br /&gt;
* [[Matrix (protocol)]] and [[XMPP]], alternative chat protocols&lt;br /&gt;
&lt;br /&gt;
== Citations ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== General bibliography ==&lt;br /&gt;
* {{cite IETF&lt;br /&gt;
| title       = A Discussion on Computer Network Conferencing&lt;br /&gt;
| rfc         = 1324&lt;br /&gt;
| last        = Reed&lt;br /&gt;
| first       = Darren&lt;br /&gt;
|date=May 1992&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 30 October 2009&lt;br /&gt;
| ref         = ietf&lt;br /&gt;
}}&lt;br /&gt;
* {{cite IETF&lt;br /&gt;
| title       = Internet Relay Chat Protocol&lt;br /&gt;
| rfc         = 1459&lt;br /&gt;
| last1       = Oikarinen&lt;br /&gt;
| first1      = Jarkko&lt;br /&gt;
| author-link1 = Jarkko Oikarinen&lt;br /&gt;
| last2       = Reed&lt;br /&gt;
| first2      = Darren&lt;br /&gt;
|date=May 1993&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 30 October 2009&lt;br /&gt;
| ref         = ietf&lt;br /&gt;
}}&lt;br /&gt;
* {{cite IETF&lt;br /&gt;
| title       = Internet Relay Chat: Architecture&lt;br /&gt;
| rfc         = 2810&lt;br /&gt;
| last        = Kalt&lt;br /&gt;
| first       = Christophe&lt;br /&gt;
|date=April 2000&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 30 October 2009&lt;br /&gt;
| ref         = ietf&lt;br /&gt;
}}&lt;br /&gt;
* {{cite IETF&lt;br /&gt;
| title       = Internet Relay Chat: Channel Management&lt;br /&gt;
| rfc         = 2811&lt;br /&gt;
| last        = Kalt&lt;br /&gt;
| first       = Christophe&lt;br /&gt;
|date=April 2000&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 30 October 2009&lt;br /&gt;
| ref         = ietf&lt;br /&gt;
}}&lt;br /&gt;
* {{cite journal&lt;br /&gt;
| last        = Loesch&lt;br /&gt;
| first       = Carl&lt;br /&gt;
| date        = 17 July 2003&lt;br /&gt;
| title       = Functionality Provided by Systems for Synchronous Conferencing&lt;br /&gt;
| publisher   = psyc.eu&lt;br /&gt;
| url         = http://www.psyc.eu/synconf&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
* {{cite IETF&lt;br /&gt;
| title       = Internet Relay Chat: Client Protocol&lt;br /&gt;
| rfc         = 2812&lt;br /&gt;
| last        = Kalt&lt;br /&gt;
| first       = Christophe&lt;br /&gt;
|date=April 2000&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 30 October 2009&lt;br /&gt;
}}&lt;br /&gt;
* {{cite IETF&lt;br /&gt;
| title       = Internet Relay Chat: Server Protocol&lt;br /&gt;
| rfc         = 2813&lt;br /&gt;
| last        = Kalt&lt;br /&gt;
| first       = Christophe&lt;br /&gt;
|date=April 2000&lt;br /&gt;
| publisher   = [[Internet Engineering Task Force|IETF]]&lt;br /&gt;
| access-date  = 30 October 2009&lt;br /&gt;
}}&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url         = http://www.ibiblio.org/pub/academic/communications/logs/&lt;br /&gt;
| title       = Logs of major events in the online community&lt;br /&gt;
| access-date  = 8 April 2011&lt;br /&gt;
| publisher   = [[ibiblio]]&lt;br /&gt;
| location    = [[Chapel Hill, North Carolina]]&lt;br /&gt;
}}&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url         = http://www.alien.net.au/irc/&lt;br /&gt;
| title       = IRC technical information&lt;br /&gt;
| access-date  = 10 April 2011&lt;br /&gt;
| last        = Butcher&lt;br /&gt;
| first       = Simon&lt;br /&gt;
| publisher   = alien.net.au&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* {{Curlie|Computers/Internet/Chat/IRC|IRC}}&lt;br /&gt;
* [https://defs.ircdocs.horse/defs/numerics.html IRC Numerics List]&lt;br /&gt;
* [http://www.irc.org/history.html History of IRC]&lt;br /&gt;
* [http://www.irc.org/ IRC.org] – Technical and Historical IRC6 information; Articles on the history of IRC&lt;br /&gt;
* [http://www.irchelp.org/ IRChelp.org] – Internet Relay Chat (IRC) help archive; Large archive of IRC-related documents&lt;br /&gt;
* [http://ircv3.net/ IRCv3] – Working group of developers, who add new features to the protocol and write specs for them&lt;br /&gt;
* [https://irc-source.com/ IRC-Source] {{Webarchive|url=https://web.archive.org/web/20201008234127/https://irc-source.com/ }} – Internet Relay Chat (IRC) network and channel search engine with historical data&lt;br /&gt;
* [https://web.archive.org/web/20190113165832/http://irc.netsplit.de/ irc.netsplit.de] – Internet Relay Chat (IRC) network listing with historical data&lt;br /&gt;
&lt;br /&gt;
{{IRC topics}}&lt;br /&gt;
{{URI scheme}}&lt;br /&gt;
{{Computer-mediated communication}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Internet Relay Chat| ]]&lt;br /&gt;
[[Category:1988 software]]&lt;br /&gt;
[[Category:Application layer protocols]]&lt;br /&gt;
[[Category:Computer-related introductions in 1988]]&lt;br /&gt;
[[Category:Finnish inventions]]&lt;br /&gt;
[[Category:Internet terminology]]&lt;br /&gt;
[[Category:Virtual communities]]&lt;/div&gt;</summary>
		<author><name>PhillisVennard3</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=Information_Technology_Intermediary_Guidelines_(Amendment)_Rules,_2018&amp;diff=388037</id>
		<title>Information Technology Intermediary Guidelines (Amendment) Rules, 2018</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=Information_Technology_Intermediary_Guidelines_(Amendment)_Rules,_2018&amp;diff=388037"/>
		<updated>2023-03-30T10:30:28Z</updated>

		<summary type="html">&lt;p&gt;PhillisVennard3: Created an enlightening manuscript.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Information Technology Rules, 2021]]&lt;br /&gt;
&lt;br /&gt;
{{Redirect category shell|&lt;br /&gt;
{{R from move}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>PhillisVennard3</name></author>
	</entry>
	<entry>
		<id>https://en.bharatpedia.org/w/index.php?title=Khatri&amp;diff=388099</id>
		<title>Khatri</title>
		<link rel="alternate" type="text/html" href="https://en.bharatpedia.org/w/index.php?title=Khatri&amp;diff=388099"/>
		<updated>2022-09-19T04:15:43Z</updated>

		<summary type="html">&lt;p&gt;PhillisVennard3: Authored a new page format.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Short description|Caste in South Asia}}&lt;br /&gt;
{{distinguish|Chhetri}}&lt;br /&gt;
{{other uses|Khatri (surname)}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{POV|talk=Talk:Khatri#A_mess}}&lt;br /&gt;
{{Use dmy dates}}&lt;br /&gt;
{{Use Indian English}}&lt;br /&gt;
{{infobox caste&lt;br /&gt;
|caste_name    = Khatri&lt;br /&gt;
|image         = A Khattri nobleman, in &#039;Kitab-i tasrih al-aqvam&#039; by Col. James Skinner, aka Sikandar (1778-1841).jpg&lt;br /&gt;
|caption       = Khatri nobleman in &#039;&#039;Kitab-i Tasrih al-Aqvam&#039;&#039; by [[James Skinner (soldier)|Col. James Skinner]] (1778–1841)&lt;br /&gt;
|religions     = [[Hinduism]], [[Sikhism]] and [[Islam]]&lt;br /&gt;
|languages     = Major: [[Lahnda]] variety of [[Punjabi language|Punjabi]] ([[Potohari]], [[Hindko]], [[Saraiki language|Multani/Saraiki]])&amp;lt;ref name=&amp;quot;auto&amp;quot;&amp;gt;{{Cite book|last1=Dīwānā|first1=Mohana Siṅgha Ubarāi|url=https://books.google.com/books?id=gxA3AAAAIAAJ&amp;amp;q=khatris+hindko|title=A History of Panjabi Literature (1100-1932): A Brief Study of Reactions Between Panjabi Life and Letters Based Largely on Important MSS &amp;amp; Rare and Select Representative Published Works, with a New Supplement|last2=Uberoi|first2=Mohan Singh|date=1971|publisher=Sadasiva Prakashan; selling agents, Bharat Prakashan|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:142&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=Blame caste for Pakistan&#039;s violent streak, not faith |url=https://timesofindia.indiatimes.com/blogs/aakarvani/blame-caste-for-pakistans-violent-streak-not-faith/|access-date=17 September 2021|website=Times of India|language=en-US}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Wagha 1990 6–7&amp;quot;&amp;gt;{{Cite book |last=Wagha |first=Ahsan |url=https://books.google.com/books?id=IOljAAAAMAAJ&amp;amp;q=The+Siraiki+language+:+its+growth+and+development. |title=The Siraiki Language: Its Growth and Development |publisher=Dderawar Publications |pages=6–7|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last1=Fenech|first1=Louis E. |url=https://books.google.com/books?id=xajcAwAAQBAJ&amp;amp;dq=The+term+is+typically+used+dismissively+by+Jats+to+express+opprobrium+towards+Sikhs+of+these+castes.+Until+recently+it+was+never+used+in+polite+company+or+print%2C+but+today+the+word+is+used+quite+openly&amp;amp;pg=PA67 |title=Historical Dictionary of Sikhism |last2=McLeod |first2=W. H.|publisher=Rowman &amp;amp; Littlefield|isbn=978-1-4422-3601-1|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;Minor: [[Hindi]], [[Gujarati language|Gujarati]], [[Dogri]], [[Kangri language|Kangri]], [[Sindhi language|Sindhi]],&amp;lt;ref&amp;gt;{{cite book |author=K.S. Singh|title=People of India: A–G.|volume=4 |url=https://books.google.com/books?id=jHQMAQAAMAAJ&amp;amp;q=brahman-khatri|publisher=Oxford University. Press |year=1998|isbn=978-0-19563-354-2|page=3285}}&amp;lt;/ref&amp;gt; [[Pashto]], [[Urdu]],&amp;lt;ref&amp;gt;{{cite book |author=Christine Everaert|title=Tracing the Boundaries Between Hindi and Urdu: Lost and Added in Translation Between 20th Century Short Stories|url=https://books.google.com/books?id=LqZ-6QRKc7wC&amp;amp;pg=PA259|year=1996 |publisher=BRILL |isbn=9789004177314|pages=259}}&amp;lt;/ref&amp;gt; [[Kutchi language|Kutchi]]&lt;br /&gt;
|country       = [[India]], [[Pakistan]] and [[Afghanistan]]&lt;br /&gt;
|region        = [[Punjab]], [[Sindh]], [[Delhi]], [[Jammu and Kashmir (union territory)|Jammu and Kashmir]],&amp;lt;ref&amp;gt;{{cite book |author=A. H. Advani |title=The India Magazine of Her People and Culture|volume=16 |url=https://books.google.com/books?id=cAluAAAAMAAJ&amp;amp;q=khatris+delhi |year=1995|publisher=the University of Michigan|pages=56–58}}&amp;lt;/ref&amp;gt; [[Himachal Pradesh]],&amp;lt;ref&amp;gt;{{cite journal |last1=Hesse |first1=Klaus |title=No reciprocation? Wife-givers and wife-takers and the bartan of the samskara among the Khatris of Mandi, Himachal Pradesh |journal=Contributions to Indian Sociology |volume=30 |issue=1 |pages=109–140 |doi=10.1177/006996679603000105 |s2cid=53703281 |language=en |issn=0069-9667|url=http://resolver.sub.uni-goettingen.de/purl?gs-1/13005 }}&amp;lt;/ref&amp;gt; [[Haryana]],&amp;lt;ref&amp;gt;{{cite book |author=Kiran Prem|title=Haryana District Gazetteers: Ambala|url=https://books.google.com/books?id=IFXRAAAAMAAJ&amp;amp;q=khatris |year=1970|publisher=Haryana Gazetteers Organization|page=42}}&amp;lt;/ref&amp;gt; [[Gujarat]]&amp;lt;ref&amp;gt;{{cite book |first=Satish Chandra |last=Misra|title=Muslim communities in Gujarat: preliminary studies their history and social organization |url=https://books.google.com/books?id=H1k1AQAAIAAJ&amp;amp;q=khatris|year=1964|publisher=Asia Pub. House|page=97}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|population=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Khatri&#039;&#039;&#039; is a [[caste system in India|caste]]/[[clan]] of the [[South Asia|Indian subcontinent]] that is predominantly found in [[India]], but also in [[Pakistan]] and [[Afghanistan]]. In the subcontinent, they were mostly engaged in mercantilistic professions such as banking and trade.&amp;lt;ref name=&amp;quot;Lorenzen199522&amp;quot;&amp;gt;{{cite book |author=Mark Juergensmayer|title=Bhakti Religion in North India: Community Identity and Political Action|publisher=SUNY Press |isbn=978-0-7914-2025-6|editor=David N. Lorenzen |page=86 |chapter=The social significance of Radhasoami|quote=In the past members of such castes such as Khatris served as shopkeepers, moneylenders, traders and teachers. Their reputation for mastering knowledge sometimes extended to the spiritual realm: Guru Nanak and the other nine founding gurus of the sikh tradition were Khatris, member of the Bedi subcaste.|chapter-url=https://books.google.com/books?id=rpSxJg_ehnIC&amp;amp;pg=PA86}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Brass3&amp;quot;&amp;gt;{{cite book|author=Tom Brass |url=https://books.google.com/books?id=VXlACwAAQBAJ&amp;amp;pg=PT96 |title=Towards a Comparative Political Economy of Unfree Labour: Case Studies and Debates |publisher=Routledge |year=2016 |isbn=9781317827351 |page=96 |quote=For the role of the khatri caste as village moneylender, shopkeeper and grain-dealer in pre-Independence Punjab, see ...}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:2&amp;quot;&amp;gt;{{Cite book |last=Eaton |first=Richard Maxwell |url=https://www.worldcat.org/oclc/1088599361 |title=India in the Persianate age, 1000-1765 |isbn=978-0-520-97423-4 |location=UK |pages=349, 347, 381 |oclc=1088599361}}&amp;lt;/ref&amp;gt; They were the dominant commercial and financial administration class of Late-Medieval India,&amp;lt;ref name=&amp;quot;:2&amp;quot; /&amp;gt; some in Punjab often belonged to hereditary agriculturalist land-holding lineages,&amp;lt;ref name=&amp;quot;Oldenburg 2002 41, 15422&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Dhawan |first=Purnima |title=Oxford Handbook of the Mughal World |publisher=Oxford Library Press |year=2020 |isbn=9780190222659}}&amp;lt;/ref&amp;gt; while others were engaged in artisanal occupations such as silk production and weaving&amp;lt;ref name=&amp;quot;SinghIndia19982&amp;quot;&amp;gt;{{cite book |author1=K. S. Singh|url=https://books.google.com/books?id=1lZuAAAAMAAJ|title=India&#039;s Communities|author2=Anthropological Survey of India |publisher=Oxford University Press |year=1998 |isbn=978-0-19-563354-2 |page=1730|quote=The traditional and present - day occupation of the Khatri is silk and cotton weaving, colouring, dyeing of threads and making jari and garlands. Some of them are engaged in other occupations like business and government jobs}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;GillowBarnard20082&amp;quot;&amp;gt;{{cite book|author1=John Gillow|url=https://books.google.com/books?id=647rAAAAMAAJ |title=Indian Textiles |author2=Nicholas Barnard|publisher=Thames &amp;amp; Hudson|year=2008|isbn=978-0-500-51432-0|page=222|quote=KHATRI A caste of professional dyers}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite journal |last1=Subramaniam |first1=Lakshmi |title=The Political Economy of Textiles in Western India: Weavers, Merchants and the transition to a Colonial Economy |journal=How India Clothed the World |pages=253–280 |doi=10.1163/ej.9789004176539.i-490.71 |isbn=9789004176539 |url=https://www.lse.ac.uk/Economic-History/Assets/Documents/Research/GEHN/GEHNConferences/conf8/PUNESubramanian.pdf}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Barendse20092&amp;quot;&amp;gt;{{cite book|author=R. J. Barendse|url=https://books.google.com/books?id=_qvq9dN8j5MC&amp;amp;pg=PA164|title=Arabian Seas, 1700-1763|publisher=M.E. Sharpe |year=2009|isbn=978-0-7656-3364-4|pages=164–|quote=The silk trade between Bengal and Gujarat was a domain of Khatri merchants, for example.}}&amp;lt;/ref&amp;gt; and some were scribes learned in [[Sanskrit]] or [[Persian language|Persian]].&amp;lt;ref name=&amp;quot;Pollock200323&amp;quot;&amp;gt;{{cite book|author=Muzzafar Alam|title=Literary Cultures in History: Reconstructions from South Asia|publisher=University of California Press |year=2003 |isbn=9780520228214|editor=Sheldon Pollock|page=163|chapter=The culture and politics of Persian in pre-colonial Hindustan|quote=Hindus—Kayasthas (of the accountant and scribe caste) and Khatris (of the trading and scribe caste of the Panjab) in particular—joined madrasahs in large numbers to acquire training in Persian language and literature, which now promised good careers in imperial service.|chapter-url=https://books.google.com/books?id=ak9csfpY2WoC&amp;amp;pg=PA163}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the British colonial era, they also served as lawyers and engaged in administrative jobs in the colonial bureaucracy.&amp;lt;ref&amp;gt;{{Cite book|last1=Jones|first1=Kenneth W.|url=https://books.google.com/books?id=RpvXCtNzrz8C&amp;amp;dq=khatris+lawyer+21&amp;amp;pg=PA176|title=Arya Dharm: Hindu Consciousness in 19th-century Punjab |last2=Jones |first2=Kenneth W.|publisher=University of California Press |isbn=978-0-520-02920-0 |pages=176 |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Raj|first=Dhooleka Sarhadi |title=Where are you from?: Middle-class migrants in the modern world|publisher=University of California Press |isbn=978-0-520-92867-1 |location=Berkeley |pages=222 |oclc=56034872}}&amp;lt;/ref&amp;gt; Some of them served in the [[British Indian Army|British Indian army]] after being raised as Sikhs.&amp;lt;ref name=&amp;quot;Oldenburg 2002 41, 15422&amp;quot; /&amp;gt; The [[Sikhism|Sikh religion]] was founded by [[Guru Nanak]], a Bedi Khatri. Subsequently, all the Sikh religious leaders or Gurus were Khatris.&amp;lt;ref&amp;gt;{{Cite book|last=W. H. McLeod|title=The A to Z of Sikhism|publisher=Scarecrow Press |year=2009 |isbn=978-0-8108-6828-1 |pages=86}}&amp;lt;/ref&amp;gt; During the [[Sikh Empire]], many Khatris formed the military vanguard of the [[Sikh Khalsa Army|Khalsa Army]] and its administrative class as [[Dewan]]s of all the provinces. [[Hari Singh Nalwa]], the commander-in-chief of the Sikh Khalsa Army, was an Uppal Khatri and responsible for most of the Sikh conquests up until the [[Khyber Pass|Khyber pass]].&amp;lt;ref&amp;gt;{{Cite web |title=e-Book: English - General Hari Singh Nalwa by Autar Singh Sindhu; Pure |url=https://apnaorg.com/books/english/hari-singh-nalwa/book.php?fldr=book |access-date=24 November 2022 |website=apnaorg.com}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Singh, Gulcharan (October 1976), &amp;quot;General Hari Singh Nalwa&amp;quot;, &#039;&#039;The Sikh Review&#039;&#039;, &#039;&#039;&#039;24&#039;&#039;&#039; (274): 36–54&amp;lt;/ref&amp;gt; Others such as [[Dewan Mokham Chand|Mokham Chand]] commanded the Sikh Army against the [[Durrani Empire]] at Attock while those such as [[Diwan Sawan Mal Chopra|Sawan Mal Chopra]] ruled [[Multan]] after wrestling it from the Afghans.&amp;lt;ref&amp;gt;{{Cite book |last=Sheikh |first=Mohamed |url=https://books.google.com/books?id=HBOMDwAAQBAJ |title=Emperor of the Five Rivers: The Life and Times of Maharajah Ranjit Singh |publisher=Bloomsbury Publishing |isbn=978-1-78673-095-4 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Khatris have played an active role in the [[Indian Armed Forces]] since 1947, with many heading it as the [[Chief of the Army Staff (India)|Chief of Army]] or [[Chief of the Naval Staff (India)|Admiral of the Navy]]. Some such as [[Vikram Batra]] and [[Arun Khetarpal]] have won India&#039;s highest wartime gallantry award, the [[Param Vir Chakra]].&amp;lt;ref&amp;gt;{{Cite book|last=Nalwa|first=Vanit|title=Hari Singh Nalwa, &amp;quot;Champion of the Khalsaji&amp;quot; (1791-1837) |year=2009 |isbn=978-81-7304-785-5|location=India}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:43&amp;quot;&amp;gt;{{Cite book|last=Bansal|first=Bobby Singh|title=Remnants of the Sikh Empire: Historical Sikh Monuments in India &amp;amp; Pakistan|publisher=Hay House, Inc|year=2015}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During the [[Partition of India|Partition of British India]] in 1947, many Khatris migrated to India from the regions that comprise modern-day Pakistan.&amp;lt;ref name=&amp;quot;:72&amp;quot;&amp;gt;{{Cite book|last=Puri|first=Baij Nath|title=The Khatris, a socio cultural study|publisher=M.N Publishers and Distributors |year=1998|location=India}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:1122&amp;quot;&amp;gt;{{Cite book |last1=Bessel |first1=Richard |title=Removing Peoples: Forced Removal in the Modern World|last2=B. Haake|first2=Claudia|publisher=Oxford University Press |year=2009 |isbn=978-0199561957 |pages=324 |author1-link=Richard Bessel}}&amp;lt;/ref&amp;gt; [[Hinduism in Afghanistan|Hindu Afghans]] and [[Sikhism in Afghanistan|Sikh Afghans]] are predominantly of Khatri and [[Arora]] origin.&amp;lt;ref&amp;gt;{{Cite book |last=Singh |first=Inderjeet |title=Afghan Hindus and Sikhs |publisher=Readomania |year=2019 |isbn=978-93-858543-8-5 |location=India |pages=24}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Etymology ==&lt;br /&gt;
The word &#039;&#039;Khatri&#039;&#039; in the [[Hindi|Hindi Language]] comes from the [[Sanskrit]] word &amp;quot;&#039;&#039;Kshatriya&amp;quot;&#039;&#039; according to the Śabdasāgara Lexicon by Shyamasundara Dasa&amp;lt;ref&amp;gt;{{Cite web|last=Dasa|first=Syamasundara|title=Hindi sabdasagara|url=https://dsal.uchicago.edu/cgi-bin/app/dasa-hindi_query.py?page=1126 |access-date=19 November 2020|website=dsal.uchicago.edu}}&amp;lt;/ref&amp;gt; According to [[Baij Nath Puri|B. N. Puri]], philologists agree that the terms &amp;quot;Khatri&amp;quot; and &amp;quot;Kshatriya&amp;quot; are synonymous. The Sanskrit conjunct Ksha (क्ष) turns into the Prakrit Kha (ख) as per the grammarian [[Vararuchi]].&amp;lt;ref name=&amp;quot;:1922&amp;quot;&amp;gt;{{Cite book|last=Puri|first=Baij Nath|url=https://books.google.com/books?id=tXX1MAAACAAJ|title=The Khatris, a Socio-cultural Study |publisher=M.N. Publishers and Distributors|pages=7–8|language=en}}&amp;lt;/ref&amp;gt; This change is not only accepted in Prakrit but in all Indian vernaculars derived by it such as Gujarati, Urdu, Gurumukhi as well as Persian. For example, Sanskrit words kshetra, kshama, laksha, iksha turns into kheta, khama, lakha and ikha respectively. The substituition of Ri (ऋ) from Riya is also witnessed in case of Hindi. Hence, the change from Kshatriya to Khatri is in consonance with the Prakrit rule and Hindi usage. The same is also testified by scholars [[R. G. Bhandarkar]] and [[Shapurji Edalji|Shapurji Edulji]].&amp;lt;ref name=&amp;quot;:1922&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As per historian [[W. H. McLeod]] and Louis Fenech, Khatri is a Punjabi form of the word Kshatriya.&amp;lt;ref name=&amp;quot;:1532&amp;quot;&amp;gt;{{Cite book |last1=Fenech |first1=Louis E.|url=https://books.google.com/books?id=xajcAwAAQBAJ&amp;amp;dq=w.h+mcleod+punjabi+form+of+kshatriya&amp;amp;pg=PA182 |title=Historical Dictionary of Sikhism|last2=McLeod|first2=W. H.|publisher=Rowman &amp;amp; Littlefield |isbn=978-1-4422-3601-1 |language=en}}&amp;lt;/ref&amp;gt; [[Peter Hardy (historian)|Peter Hardy]] and [[Akshay Ramanlal Desai|A. R. Desai]] also agree that Khatri is derived from Kshatriya. Despite the etymology, Hardy says that Khatri is &amp;quot;a mercantile class&amp;quot; and Desai says the Khatris were &amp;quot;traditionally tradesmen and government officials&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book |last=Desai |first=A. R. |url=https://books.google.com/books?id=0yqV1Ux0oGIC&amp;amp;dq=state+and+society+in+india+khatri+a.r.+desai&amp;amp;pg=PA530 |title=State and Society in India |publisher=Popular Prakashan |isbn=978-81-7154-013-6 |pages=539–540 |language=en |quote=Nanak was probably of a khatri jati, traditionally tradesmen and government officials in the Punjab, though the name Khatri is from the word Kshatriya. The nine Sikh gurus who came after him were certainly Khatris}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last1=Hardy |url=https://books.google.com/books?id=RDw4AAAAIAAJ&amp;amp;dq=%22derived+from+kshatriya%22&amp;amp;pg=PA279 |title=The Muslims of British India |last2=Hardy |first2=Thomas |publisher=CUP Archive |isbn=978-0-521-09783-3 |pages=279 |language=en}}&amp;lt;/ref&amp;gt; [[Dharamvir Bharati|Dr. Dharamvir Bharati]] comments that in Punjabi language, Kshatriya is pronounced as Khatri.&amp;lt;ref&amp;gt;{{Cite book|url=https://books.google.com/books?id=OgygQ3w77VYC&amp;amp;q=khatri+sanskrit+punjabi&amp;amp;pg=PA243|title=Dalit Chintan ka Vikas Abhishapt Chintan se Itihas|publisher=Vani Prakashan|pages=243|language=hi}}&amp;lt;/ref&amp;gt; As per Dr. GS Mansukhani and RC Dogra, &amp;quot;Khatri appears to be unquestionably a Prakritised form of Sanskrit word Kshatriya.&amp;quot;&amp;lt;ref&amp;gt;{{Cite book |last1=Dogra |first1=R. C. |url=https://books.google.com/books?id=upLXAAAAMAAJ&amp;amp;q=Khatri+or+Kshatriya+and+their+Castes+Khatri+appears+to+be+unquestionably+a+Prakritised+form+of+Sanskrit+Kshatriya,%22+Encyclopaedia+of+Sikh+Religion+and+Culture+-+Page+264,+by+R.+C.+Dogra,+%E2%80%8EGobind+Singh+Mansukhani. |title=Encyclopaedia of Sikh Religion and Culture |last2=Mansukhani |first2=Gobind Singh |publisher=Vikas Publishing House |isbn=978-0-7069-8368-5 |pages=264 |language=en}}&amp;lt;/ref&amp;gt; According to philologist [[Ralph Lilley Turner]], the Punjabi word &amp;quot;&#039;&#039;khattrī&#039;&#039;&amp;quot;, meaning &amp;quot;warrior&amp;quot;, derives from Sanskrit &amp;quot;k&#039;&#039;ṣatriya&#039;&#039;&amp;quot;, whereas the Gujarati word &amp;quot;&#039;&#039;khātrī&#039;&#039;&amp;quot;, meaning &amp;quot;a caste of Hindu weavers&amp;quot;, derives from Sanskrit &amp;quot;&#039;&#039;kṣattr̥&#039;&#039;&amp;quot;, meaning &amp;quot;carver, distributor&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book |last=Turner |first=Ralph Lilley |url=https://dsal.uchicago.edu/dictionaries/soas/frontmatter/frontmatter.html |title=A Comparative Dictionary of the Indo-Aryan Languages |publisher=School of Oriental and African Studies, University of London |year=1985 |pages=189}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
John Stratton Hawley and Mann clarify that although the word &amp;quot;Khatri&amp;quot; derives from the word &amp;quot;Kshatriya&amp;quot;, in Punjab&#039;s context Khatri refers to a &amp;quot;cluster of merchant castes including Bedis, Bhallas and Sodhis&amp;quot;.&amp;lt;ref&amp;gt;{{cite book |author1=John Stratton Hawley |url=https://books.google.com/books?id=bTCFDfh7Qv4C&amp;amp;pg=PA179 |title=Studying the Sikhs: Issues for North America |author2=Gurinder Singh Mann |publisher=State University of New York Press |year=1993 |isbn=9780791414255 |page=179 |quote=Khatri (khatri) &amp;quot;merchant-caste.&amp;quot; Although the name derives from Sanskrit kshatriya, which designates the warrior or ruling castes, khatri in Punjabi usage refers to a cluster of merchant castes including Bedis, Bhallas and Sodhis}}&amp;lt;/ref&amp;gt; Purnima Dhavan sees the claim as originating from a conflation of the phonetically similar words khatri and kshatriya, but refers to Khatris as a &amp;quot;trading caste&amp;quot; of the Sikh Gurus.&amp;lt;ref name=&amp;quot;dhavan2&amp;quot;&amp;gt;{{cite book |last=Dhavan |first=Purnima |url=https://books.google.com/books?id=q0ZpAgAAQBAJ&amp;amp;pg=PA36 |title=When Sparrows Became Hawks: The Making of the Sikh Warrior Tradition, 1699-1799 |publisher=Oxford University Press |year=2011 |isbn=978-0-19987-717-1 |pages=36–37}}&amp;lt;/ref&amp;gt; {{see also|Khatri#Varna Status}}&lt;br /&gt;
&lt;br /&gt;
==Early history==&lt;br /&gt;
Ancient Greek accounts from historians&amp;lt;ref name=&amp;quot;SmithNY&amp;quot;&amp;gt;{{cite book |author=Vincent A. Smith |title=History of India, in Nine Volumes: Vol. II |publisher=Cosimo Publications |year=2008 |location=New York |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Lamotte&amp;quot;&amp;gt;{{cite book |author=Etienne Lamotte, Sara Webb-Boin &amp;amp; Jean Dantinne |title=History of Indian Buddhism: From the Origins to the Saka Era |publisher=Université catholique de Louvain, Institut orientaliste |year=1988 |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Sahay&amp;quot;&amp;gt;{{cite book |last=Sahay |first=Uday |title=Kayasth Encyclopedia |publisher=SAUV communications |year=2021 |isbn=978-81-941122-3-5 |location=Delhi |language=en}}&amp;lt;/ref&amp;gt; that accompanied [[Alexander the Great]] to Punjab mention a tribe called the &#039;&#039;Kathaioi&#039;&#039; whose territory lay from east of the Hydraotes ([[Ravi River|Ravi]]) but between the Hydarpes ([[Jhelum]]) &amp;amp; Akesines ([[Chenab River|Chenab]]) and whose capital was &#039;&#039;Sagala&#039;&#039; ([[Sialkot]]). They were described as a powerful nation who resisted Alexander&#039;s advance. [[Arrian]] in the [[The Anabasis of Alexander|Anabasis]] (VI.15) mentions the &#039;&#039;Khathrois of Punjab (χάθροις - Khathrois),&#039;&#039; whose territory lay between the [[Indus River|Indus]] &amp;amp; Chenab.&amp;lt;ref&amp;gt;{{Cite web |title=Arrian, Anabasis, book 6, chapter 15, section 1 |url=http://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:2008.01.0530:book=6:chapter=15:section=1 |access-date=10 August 2021 |website=www.perseus.tufts.edu}}&amp;lt;/ref&amp;gt; [[Ptolemy]] writing in the 2nd century AD refers again to another tribe called the &#039;&#039;Khatriaoi&#039;&#039; to whom belong cities lying east &amp;amp; west of the Indus.&lt;br /&gt;
&lt;br /&gt;
[[Baij Nath Puri]] mentions that the modern descendants of these &#039;&#039;Kathaiois, Khathrois &amp;amp; Khatriaoi&#039;&#039; tribes mentioned by the Greeks in West Punjab are the Khatris of India.&amp;lt;ref&amp;gt;{{Cite book |last=Puri |first=Baij Nath |url=https://www.worldcat.org/oclc/61616699 |title=The Khatris, a socio-cultural study |publisher=M.N. Publishers and Distributors |location=New Delhi |pages=9–11 |language=English |oclc=61616699 |quote=It is reasonable to presume at the moment on the basis of the cumulative evidence adduced above that the Kathioi, Khatriaioi and the Khatriyas appear to be synonymous- all representing the Kshatriyas-Khatriyas-Khatris.”}}&amp;lt;/ref&amp;gt; According to [[S. Srikanta Sastri|S. Sasikanta Sastri]], Greek historians have mentioned that Alexander faced stiffed resistance from Indian army of &amp;quot;Kathiyo&amp;quot; warriors. Sastri further adds that &amp;quot;even in present day modern-India, a group of martial caste members called Khati (Khatri) exist in [[North India|North-India]]&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book |last=Dr S. Srikanta Sastri |first=English Translation by S. Naganath |url=https://books.google.com/books?id=7xg6EAAAQBAJ&amp;amp;dq=khatri&amp;amp;pg=PT167 |title=Indian Culture: A Compendium of Indian History, Culture and Heritage |publisher=Notion Press |isbn=978-1-63806-511-1 |language=en}}&amp;lt;/ref&amp;gt; [[Michael Witzel]], writing in his paper &amp;quot;&#039;&#039;Sanskritization of the Kuru State&amp;quot;&#039;&#039; states the &#039;&#039;Kathaiois&#039;&#039; were Kaṭha [[Brahmin]]s.&amp;lt;ref&amp;gt;{{Cite journal |last=Witzel |first=Michael |title=Early Sanskritization Origins and Development of the Kuru State |url=https://crossasia-journals.ub.uni-heidelberg.de/index.php/ejvs/article/view/823/913 |journal=Electronic Journal of Vedic Studies |volume=1 |issue=4 |pages=22 |quote=Note also the fierce Kathaíoi “tribe” (i.e. Kaṭha Brahmins) who live in the same area as the Salva (and Mahāvr̥ṣa) at the time of Alexander, see Arrian, Anabasis 5.22).}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Trans-regional trading history ==&lt;br /&gt;
The Khatris played an important role in India&#039;s trans-regional trade during the period,&amp;lt;ref&amp;gt;{{cite book |last=Oonk |first=Gijsbert |title=Global Indian diasporas |publisher=Amsterdam University Press |year=2007 |isbn=978-90-5356-035-8 |page=43}}&amp;lt;/ref&amp;gt; being described by Levi as among the &amp;quot;most important merchant communities of early modern India.&amp;quot;&amp;lt;ref name=&amp;quot;:82&amp;quot;&amp;gt;{{cite book |last=Levi |first=Scott Cameron |url=https://books.google.com/books?id=9qVkNBge8mIC |title=The Indian Diaspora in Central Asia and Its Trade, 1550–1900 |publisher=BRILL |year=2002 |isbn=978-90-04-12320-5 |location=Leiden }}{{Dead link|bot=InternetArchiveBot |fix-attempted=yes }}&amp;lt;/ref&amp;gt; Levi writes: &amp;quot;[[Stephen Dale]] locates Khatris in [[Astrakhan]], [[Russia]] during the late 17th century and, in the 1830s, [[Mountstuart Elphinstone|Elphinstone]], was informed that Khatris were still highly involved in northwest India&#039;s trade and that they maintained communities throughout [[Afghanistan]] and as far away as [[Astrakhan]]&amp;quot;&amp;quot;.&amp;lt;ref name=&amp;quot;:032&amp;quot;&amp;gt;{{Cite book |last=Levi |first=Scott Cameron |url=https://books.google.com/books?id=PriGAAAAIAAJ |title=The Indian Diaspora in Central Asia and Its Trade, 1550-1900 |publisher=Brill |isbn=978-90-04-12320-5 |pages=108 |language=en}}&amp;lt;/ref&amp;gt; According to Kiran Datar, they often married [[Tatars|Tatar]] local women in Astrakhan and the children from these marriages were known as &#039;&#039;Agrijan.&amp;lt;ref&amp;gt;{{Cite book |last=Datar |first=Dr. Kiran |url=https://archive.org/details/ThePunjabPastAndPresent-Volume20Part1 |title=The Punjab Past and Present - Volume 20 Part 1 |editor-last=Ganda Singh |pages=85 |language=en}}&amp;lt;/ref&amp;gt;&#039;&#039; As per Stephen Dale, the children born out of Indo-Turkic alliance was sufficient to form an Agrizhan suburb in the city.&amp;lt;ref&amp;gt;{{Cite book |last=Dale |first=Stephen Frederic |url=https://books.google.com/books?id=GqEWw_54uVUC&amp;amp;dq=agrizhan+communities&amp;amp;pg=PA107 |title=Indian Merchants and Eurasian Trade, 1600-1750 |publisher=Cambridge University Press |isbn=978-0-521-52597-8 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Historian [[Stephen Dale]] states that most of the 10,000 (as estimated by [[Jean Chardin]]) Indian merchants and money-lenders in [[Isfahan]] (Iran) in 1670, belonged to the Khatri caste of Punjab and north-west India. In Iran&#039;s [[Bazaar]]&#039;s, Khatris sold cloth and various items and also practised money-lending. Dale believes that Khatris had possibly been travelling from Punjab via [[Caravan (travellers)|caravans]] since the era of [[Ziauddin Barani]] (around 1300 AD). [[Jean Chardin|Chardin]] specifically stereotyped and expressed disapproval of the money-lending techniques of the Khatri community. According to Dale, this racist criticism was ironic given Chardin&#039;s non-English background but adds that it was Chardin&#039;s way of giving an &amp;quot;ethnic explanation&amp;quot; to the economic disparity between [[Iran]] and India at that time.&amp;lt;ref name=&amp;quot;:52&amp;quot;&amp;gt;{{cite book |author=Stephen F. Dale |url=https://books.google.com/books?id=vNmaBAAAQBAJ&amp;amp;pg=PT190 |title=The Muslim Empires of the Ottomans, Safavids, and Mughals |publisher=Cambridge University Press |year=2009 |isbn=9781316184394 |pages=190–191 |quote=Some of them, known in sources as banians, sold goods and lent money in the Persian gulf port of Bandar &#039;Abbas. However, most of the 10,000 Indians whom Chardin estimated resided in Isfahan in 1670 belonged to the prominent Khatri caste group, whose members were native to the Punjab and northwestern India. Khatris had probably been travelling from the Punjab since the days of Saltanate curmudgeon Zia al-Din Barani, whose denunciation of the Hindu dominance of the Indo-Muslim economy would have been appropriate for the Mughal period as well. Khatris would have found it easy to join caravans that has traversed the Khyber and other Indo Afgan passes since ancient times.[...]In Iran, Khatris both sold cloth and various other Indian goods in bazaars, such as Isfahan&#039;s Maidain-i Shah, and lent money to merchants in the cash starved Iranian economy. In the early eighteenth century, the Englishman Edward Pettus, who served the East India company in Isfahan, complained about Indian aggressive marketing techniques. Using Banian as a general term for all non-Muslim Indians he wrote:[beginquote] The bannians, the cheif[sic] Marchantes who vende Linene of India, of all sorts and prices, which this Countrye cannot bee without, except the people should goe naked...they vende most of the linene they bring to Spahan after a most base peddlinge, and unmarchante like manner...carying it up and down on their shoulders [in] the Bazar[endquote]. Later in the century Chardin criticized Indians for their moneylending and wrote stereotyped characterization of the Khatris that reminds readers of European Christian portrayals of Jews, ironic considering Chardin was a Huguenot who had taken refuge in England. He pictured the Khatris as a nefarious class of usurious moneylenders who drained Iran of its precious metals by repatriating their ill-gotten gains to India. His was an ethnic explanation for a fundamental economic imbalance between the two regions.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Theology ==&lt;br /&gt;
[[File:1849 photograph of Bikram Singh Bedi, a direct descendent of Guru Nanak.webp|thumb|1849 photograph of Bikram Singh Bedi, a direct descendant of Guru Nanak.]]&lt;br /&gt;
According to &#039;&#039;[[Bichitra Natak]]&#039;&#039;, traditionally said to be the autobiography of the last Sikh Guru, [[Gobind Singh]], but possibly not so,&amp;lt;ref&amp;gt;The Sikh Struggle in the Eighteenth Century and Its Relevance for Today, W. H. McLeod, History of Religions, Vol. 31, No. 4, Sikh Studies (May 1992), pp. 344-362, The University of Chicago Press/ quote: &amp;quot;Although Bachitar Natak is traditionally attributed to Guru Gobind Singh, there is a strong case to be made for regarding it as the work of one of his followers...&amp;quot;&amp;lt;/ref&amp;gt; the Bedi sub-caste of the Khatris derives its lineage from [[Kusha (Ramayana)|Kush]], the son of [[Rama]] (according to Hindu epic &#039;&#039;[[Ramayana]]&#039;&#039;). Similarly, according to the same legend, the [[Sodhi]] sub-caste claims descent from [[Lava (Ramayana)|Lav]], the other son of Rama.&amp;lt;ref name=&amp;quot;Bichitra2&amp;quot;&amp;gt;The Cosmic Drama: Bichitra Natak, Author Gobind Singh, Publisher Himalayan International Institute of Yoga Science and Philosophy of the U.S.A., 1989 {{ISBN|0-89389-116-9}}, {{ISBN|978-0-89389-116-9}}&amp;lt;/ref&amp;gt;{{Better source needed|reason=not [[BP:HSC]]}}&lt;br /&gt;
&lt;br /&gt;
In [[Guru Granth Sahib]], the primary scripture of Sikhism, Khatri is mentioned as one among the four [[Varna (Hinduism)|varnas]].&amp;lt;ref&amp;gt;{{Cite book |last=Singh|first=Nikky-Guninder Kaur|url=https://books.google.com/books?id=8daLDwAAQBAJ&amp;amp;dq=khatri+brahmin+shudra+vaishya+guru+nanak&amp;amp;pg=PT62 |title=Sikhism: An Introduction|publisher=Bloomsbury Publishing|isbn=978-0-85773-549-2|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Blockquote|text=ਖਤ੍ਰੀ ਬ੍ਰਾਹਮਣ ਸੂਦ ਵੈਸ ਉਪਦੇਸੁ ਚਹੁ ਵਰਨਾ ਕਉ ਸਾਝਾ ॥ (SGGS, ang 747)&lt;br /&gt;
&#039;&#039;Khatri brahman sud vais updesu cahu varna ku sanjha&#039;&#039;&lt;br /&gt;
[[Kshatriya]]s, [[Brahmin]]s, [[Shudra]]s and [[Vaishya]]s all have the same mandate&lt;br /&gt;
|multiline=yes&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[File:Portret van een onbekende handelaar uit Hazara Khutree. Hindoo trader. Hazara (titel op object), RP-F-2001-7-1122E-20.jpg|thumb|Photograph of a Hindu Khatri man of [[Hazara, Pakistan|Hazara]] c. 1868-1872|188x188px]]&lt;br /&gt;
&lt;br /&gt;
[[Guru Gobind Singh]], said the following in a [[Savaiya|swayya]]:&lt;br /&gt;
&lt;br /&gt;
{{Blockquote|text=&#039;&#039;Chattri ko poot ho, Baman ko naheen kayee tap aavat ha jo karon; Ar aur janjaar jito greh ko tohe tyaag, kahan chit taan mai dharon, Ab reejh ke deh vahey humko jo-oo, hau binti kar jor karoon ; Jab aao ki audh nidaan bane, att hi ran main tab jujh maroon.&#039;&#039;&lt;br /&gt;
I am son of a Chhatri (Khatri), not of a [[Brahmin]] and I will live according to my [[Dharma]]. All other complications of life are meaningless for me, and I set my heart on the path of righteousness. I humbly beseech thee God Almighty that when the time comes for me to fulfill my Dharma, may I die with honour in the field of battle.&amp;lt;ref&amp;gt;{{Cite book|last=Nalwa|first=Vanit|url=https://books.google.com/books?id=ULhgNexD92QC&amp;amp;q=chhatri+ko+poot |title=Hari Singh Nalwa, &amp;quot;champion of the Khalsaji&amp;quot; (1791-1837) |date=2009-01-13 |publisher=Manohar, New Delhi |isbn=978-81-7304-785-5 |pages=329 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|multiline=yes&lt;br /&gt;
|author=Translated by Vanit Nalwa&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Demographics ==&lt;br /&gt;
=== Before partition ===&lt;br /&gt;
French traveller [[Jean de Thévenot|Thevenot]] visited India during the 1600s where he commented &amp;quot;At [[Multan]], there is another sort of gentiles whom they call Catry, the town is properly their country and from thence they spread all over the Indies.&amp;quot; According to Dr. Madhu Tyagi, Thevenot is referring to Hindu Khatri caste here.&amp;lt;ref&amp;gt;{{Cite book|last=Tyagi|first=Dr Madhu|url=https://books.google.com/books?id=YMpJDwAAQBAJ&amp;amp;dq=khatris+multan+thevenot&amp;amp;pg=PA18 |title=THEORY OF INDIAN DIASPORA: DYNAMICS OF GLOBAL MIGRATION|publisher=Horizon Books (A Division of Ignited Minds Edutech P Ltd) |isbn=978-93-86369-37-6|pages=18|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The last caste-based census was conducted by the British in 1931 which regarded Khatri and [[Arora]] as a different caste. During 1931, Khatris were prominent in the [[West Punjab]] and [[Khyber Pakhtunkhwa|North-Western Frontier Province]] (NWFP), which is now known as Khyber Pakhtunkhwa (KPK).&amp;lt;ref name=&amp;quot;:202&amp;quot;&amp;gt;{{Cite book|last=Puri|first=Baij Nath|url=https://books.google.com/books?id=7ytuAAAAMAAJ&amp;amp;q=khatris+a+socio+cultural+study|title=The Khatris, a Socio-cultural Study|publisher=M.N. Publishers and Distributors|pages=19–20|language=en}}&amp;lt;/ref&amp;gt; The Khatris spoke [[Hindko]] and [[Pahari-Pothwari|Potohari]] language.&amp;lt;ref name=&amp;quot;auto&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;:213&amp;quot;&amp;gt;{{Cite book|last1=Fenech|first1=Louis E.|title=Historical Dictionary of Sikhism |last2=McLeod |first2=W.H |publisher=Rowman &amp;amp; Littlefield|year=2014|isbn=978-1442236004|pages=67}}&amp;lt;/ref&amp;gt; Highest percentage concentration of Khatris (excluding Aroras) were in Potohar regions of [[Jhelum District|Jhelum]] and [[Rawalpindi]]&amp;lt;ref name=&amp;quot;:202&amp;quot; /&amp;gt; In NWFP, the Khatris were found mainly in [[Peshawar|Peshawer]] and [[Hazara Division|Hazara]].&amp;lt;ref name=&amp;quot;:222&amp;quot;&amp;gt;{{Cite book|last=Singer|first=André|url=https://books.google.com/books?id=asqdNQAACAAJ |title=Guardians of the North-West Frontier: The Pathans|publisher=Time-Life Books|isbn=978-0-7054-0702-1|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Arora-Khatris were centered in [[Multan]] and [[Derajat]] regions of Punjab and [[Khyber Pakhtunkhwa|NWFP]].&amp;lt;ref name=&amp;quot;:1822&amp;quot;&amp;gt;{{Cite book |last=Oonk |first=Gijsbert|url=https://books.google.com/books?id=BkwsMTyShi8C&amp;amp;dq=they+are+the+only+hindus+known+in+central+asia+khatris&amp;amp;pg=PA44|title=Global Indian Diasporas: Exploring Trajectories of Migration and Theory|publisher=Amsterdam University Press|isbn=978-90-5356-035-8|pages=43–45|language=en}}&amp;lt;/ref&amp;gt; In the NWFP, the Aroras which are considered a sub-caste of Khatris by some scholars were concentrated in the districts of [[Bannu District|Bannu]], [[Kohat District|Kohat]] and [[Dera Ismail Khan District|Dera Ismail Khan]].&amp;lt;ref name=&amp;quot;:222&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;:142&amp;quot;&amp;gt;{{Cite book |last=Levi |first=Scott Cameron |url=https://books.google.com/books?id=9qVkNBge8mIC |title=The Indian Diaspora in Central Asia and its Trade 1550-1900 |year=2002 |isbn=978-90-04-12320-5 |page=107 }}{{Dead link|bot=InternetArchiveBot |fix-attempted=yes }}&amp;lt;/ref&amp;gt; The Aroras spoke Jatki language which is the 9th century version of Saraiki (Multani) according to [[Denzil Ibbetson|Ibbetson]].&amp;lt;ref&amp;gt;{{Cite web |title=Blame caste for Pakistan&#039;s violent streak, not faith |url=https://timesofindia.indiatimes.com/blogs/aakarvani/blame-caste-for-pakistans-violent-streak-not-faith/|access-date=17 September 2021|website=Times of India Blog|language=en-US}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
They were also found in Afghanistan at a population of 300,000 in 1880. According to an 1800s colonial source referred by [[Shah Mahmoud Hanifi|Shah Hanifi]], &amp;quot;[[Hindki]] is the name given to Hindus who live in Afghanistan. They are Hindus of Khatri class and are found all over Afghanistan even amongst the wildest tribes. They are wholly occupied in trade and form numerous portion of the population of all the cities and towns, and are also to be found in the majority of large villages.&amp;quot;&amp;lt;ref name=&amp;quot;:172&amp;quot;&amp;gt;{{Cite book|last=Hanifi|first=Shah|url=https://books.google.com/books?id=VV7ZK8BLLOsC&amp;amp;q=khattris+hindki&amp;amp;pg=PA48|title=Connecting Histories in Afghanistan: Market Relations and State Formation on a Colonial Frontier|publisher=Stanford University Press|isbn=978-0-8047-7411-6|pages=48|language=en}}&amp;lt;/ref&amp;gt;[[File:Portret_van_een_onbekende_handelaar_uit_Lahore_Khatris._Hindoo_traders._Lahore_(titel_op_object),_RP-F-2001-7-1122D-51.jpg|thumb|207x207px|Photograph of a Hindu Khatri man of [[Lahore]] c. 1859-1869]] [[File:A Sodhee Sikh, Lahore.jpg|thumb|[[Sikhs|Sikh]] of [[Sodhi]] clan, Lahore.|171x171px]] [[File:Largest Hindu Caste by District (Census 1931).jpg|thumb|310x310px|Map depicting the most numerous community by district according to Census of India 1931.&amp;lt;ref&amp;gt;{{Cite web|title=Census of India, 1931, Vol. IV Baluchistan Parts I &amp;amp; II|url=http://indianculture.gov.in/census-india-1931-vol-iv-baluchistan-parts-i-ii|url-status=live|access-date=7 November 2021|website=Indian Culture|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web |title=Report, Part 1 Volume XVII, Punjab|url=https://censusindia.gov.in/DigitalLibrary/data/Census_1931/Publication/Punjab/26728%20_1931_REB.pdf|url-status=live|website=Census India}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|last=Khan|first=Ahmad Hassan|title=Census of India, Part 2, Volume XVII, Punjab |year=1933 |url=https://archive.org/details/in.ernet.dli.2015.56042|url-status=live}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=Census of India, 1931, Vol. VIII-Part II Bombay Presidency Statistical Tables|url=http://indianculture.gov.in/census-india-1931-vol-viii-part-ii-bombay-presidency-statistical-tables|access-date=7 November 2021|website=INDIAN CULTURE|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|title=Census of India, 1931, Vol. XV North-West Frontier Province Part I- Report Part II- Tables|url=http://indianculture.gov.in/census-india-1931-vol-xv-north-west-frontier-province-part-i-report-part-ii-tables|access-date=7 November 2021|website=INDIAN CULTURE|language=en}}&amp;lt;/ref&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|+Population Concentration of Khatris &amp;amp; Aroras by region (Note: The numbers are expected to be more since many Hindus boycotted the Census)&amp;lt;ref name=&amp;quot;:202&amp;quot; /&amp;gt;&lt;br /&gt;
!Region&lt;br /&gt;
!State&lt;br /&gt;
!Total % pop.&lt;br /&gt;
!Khatri&lt;br /&gt;
!Arora&lt;br /&gt;
!Year&lt;br /&gt;
!Ref&lt;br /&gt;
|-&lt;br /&gt;
|Amritsar district&lt;br /&gt;
|Punjab (East)&lt;br /&gt;
|05.47%&lt;br /&gt;
|03.30%&lt;br /&gt;
|02.17%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;&amp;gt;{{Cite book|last=Rose, H A|url=https://dspace.gipe.ac.in/xmlui/handle/10973/18839|title=Census of India, 1901. Imperial Tables Part: I-VIII, X-XV, XVII and XVIII for Punjab and the North-West Frontier Province.|year=1902|language=English}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Attock dist.&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|09.90%&lt;br /&gt;
|07.32%&lt;br /&gt;
|02.58%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|last=Government of Punjab|url=https://www.indianculture.gov.in/gazettes/punjab-district-gazetteers-attock-district-part-maps-1907 |title=Punjab District Gazetteers: Attock District Part A. With Maps, 1907|publisher=Lahore, Civil and Military Gazetteers Press |year=1909 |pages=96–97 |language=English}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Bahawalpur dist.&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|07.36%&lt;br /&gt;
|00.50%&lt;br /&gt;
|06.86%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot;&amp;gt;{{Cite book|last=Khan Ahmad Hasan|url=https://dspace.gipe.ac.in/xmlui/handle/10973/18984|title=Census of India, 1931. Vol. XVII: Punjab. Part II: Tables|publisher=Government of Punjab|year=1931|pages=283–292}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Balochistan&lt;br /&gt;
|Balochistan&lt;br /&gt;
|01.93%&lt;br /&gt;
|00.03%&lt;br /&gt;
|01.90%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|last=Census of India, 1931|first=Gul Muhammad Khan|url=https://dspace.gipe.ac.in/xmlui/handle/10973/18968|title=Census of India, 1931. Vol. IV: Baluchistan. Part I: Report and Part II: Imperial and Provincial Tables|year=1934|pages=164}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Bannu dist.&lt;br /&gt;
|KPK&lt;br /&gt;
|07.83%&lt;br /&gt;
|00.50%&lt;br /&gt;
|07.30%&lt;br /&gt;
|1921&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:23&amp;quot;&amp;gt;{{Cite book|last=Lehna Singh, R B Bhai|url=https://dspace.gipe.ac.in/xmlui/handle/10973/18930|title=Census of India, 1921. Vol. XIV: North-West frontier provinces: Part I: Reports and Part II: Tables|year=1922|pages=Part 2: Table XIII}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|DG Khan dist.&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|10.01%&lt;br /&gt;
|00.79%&lt;br /&gt;
|09.22%&lt;br /&gt;
|1891&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|last=Diack, A H (Punjab Government)|url=https://dspace.gipe.ac.in/xmlui/handle/10973/33520|title=Gazetteers of Dera Ghazi Khan District: Revised Edition 1893-97|year=1893–1897|pages=x (table IX)|publisher=Civil and Military Gazette Press, Lahore}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|DI Khan dist.&lt;br /&gt;
|KPK&lt;br /&gt;
|09.86%&lt;br /&gt;
|00.72%&lt;br /&gt;
|09.14%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Dir, Chitral &amp;amp; Swat&lt;br /&gt;
|KPK&lt;br /&gt;
|20.33%&lt;br /&gt;
|16.32%&lt;br /&gt;
|04.01%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Ferozpur dist.&lt;br /&gt;
|Punjab (East)&lt;br /&gt;
|03.57%&lt;br /&gt;
|01.11%&lt;br /&gt;
|02.46%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Gujranwala dist.&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|10.01%&lt;br /&gt;
|04.46%&lt;br /&gt;
|05.55%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Gujrat district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|06.30%&lt;br /&gt;
|02.46%&lt;br /&gt;
|03.84%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Gurdaspur dist.&lt;br /&gt;
|Punjab (East &amp;amp; West)&lt;br /&gt;
|01.98%&lt;br /&gt;
|01.83%&lt;br /&gt;
|00.15%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Hazara district&lt;br /&gt;
|KPK&lt;br /&gt;
|02.97%&lt;br /&gt;
|02.29%&lt;br /&gt;
|00.68%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|last=Government of North-West Frontier Province|url=https://www.sikhnationalarchives.com/book/read/gazetteer-of-the-hazara-district-1907/#page/69/mode/2up|title=Hazara District Gazetteers 1907|pages=70}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Jammu Province&lt;br /&gt;
|Jammu-Kashmir&lt;br /&gt;
|03.01%&lt;br /&gt;
|03.01%&lt;br /&gt;
|00.00%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|last=Walter Lawrence, J.L. Kaye|url=https://indianculture.gov.in/gazettes/imperial-gazetteer-india-kashmir-and-jammu|title=Imperial Gazetteer of India: Kashmir and Jammu|publisher=Calcutta, Superintendent of Government Printing|year=1909|pages=32}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Kangra district&lt;br /&gt;
|Himachal Pradesh&lt;br /&gt;
|00.87%&lt;br /&gt;
|00.85%&lt;br /&gt;
|00.02%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Kohat district&lt;br /&gt;
|KPK&lt;br /&gt;
|05.07%&lt;br /&gt;
|01.50%&lt;br /&gt;
|03.57%&lt;br /&gt;
|1921&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:23&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Jalandhar dist.&lt;br /&gt;
|Punjab (East)&lt;br /&gt;
|02.88%&lt;br /&gt;
|02.78%&lt;br /&gt;
|00.10%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Jhang district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|15.06%&lt;br /&gt;
|04.34%&lt;br /&gt;
|10.72%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Jhelum district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|09.77%&lt;br /&gt;
|07.27%&lt;br /&gt;
|02.50%&lt;br /&gt;
|1881&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|url=https://www.indianculture.gov.in/gazetteer-jhelam-district-1883-84|title=Gazetteer of the Jhelam District 1883-84|publisher=The Calcutta Central Press Co., Calcutta|year=1883–1884|pages=vi (Table IX)}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Lahore district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|08.01%&lt;br /&gt;
|05.10%&lt;br /&gt;
|02.91%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Lyallpur district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|07.50%&lt;br /&gt;
|01.82%&lt;br /&gt;
|05.68%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Mianwali district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|13.20%&lt;br /&gt;
|02.24%&lt;br /&gt;
|10.96%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Montgomery dist&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|11.91%&lt;br /&gt;
|01.09%&lt;br /&gt;
|10.82%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Multan district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|14.05%&lt;br /&gt;
|01.53%&lt;br /&gt;
|12.52%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Muzzafargarh dist&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|09.67%&lt;br /&gt;
|00.45%&lt;br /&gt;
|09.22%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Patiala district&lt;br /&gt;
|Punjab (East)&lt;br /&gt;
|01.29%&lt;br /&gt;
|01.14%&lt;br /&gt;
|00.15%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Peshawar dist.&lt;br /&gt;
|KPK&lt;br /&gt;
|04.34%&lt;br /&gt;
|02.26%&lt;br /&gt;
|02.08%&lt;br /&gt;
|1921&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:23&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Rawalpindi dist.&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|10.01%&lt;br /&gt;
|07.71%&lt;br /&gt;
|02.30%&lt;br /&gt;
|1891&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|url=https://indianculture.gov.in/gazetteers-rawalpindi-district-1893-94|title=Gazetteers of the Rawalpindi District 1893-94|publisher=Civil and Military Gazette Press, Lahore|year=1893–1894|pages=295}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Shahpur district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|11.08%&lt;br /&gt;
|03.02%&lt;br /&gt;
|08.06%&lt;br /&gt;
|1901&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:0&amp;quot;/&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Sheikhupura dist&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|05.50%&lt;br /&gt;
|02.18%&lt;br /&gt;
|03.32%&lt;br /&gt;
|1931&lt;br /&gt;
|&amp;lt;ref name=&amp;quot;:24&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Sialkot district&lt;br /&gt;
|Punjab (West)&lt;br /&gt;
|04.01%&lt;br /&gt;
|02.01%&lt;br /&gt;
|02.00%&lt;br /&gt;
|1921&lt;br /&gt;
|&amp;lt;ref&amp;gt;{{Cite book|last=Government of Punjab|title=Punjab District Gazetteers, Volume XV Part B, Sialkot District (Statistical Tables) - 1936 |year=1936 |pages=57–64}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== After partition ===&lt;br /&gt;
Apart from [[Punjab, India|Punjab]], Khatris arrived in [[Delhi]] and [[Haryana]] among other regions after the partition where they make up 9% and 8.0% of the population respectively.&amp;lt;ref name=&amp;quot;:1122&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;:162&amp;quot;&amp;gt;{{Cite web|title=Report of Haryana Backward Classes Commission - 2012 {{!}} Welfare of Scheduled Caste &amp;amp; Backward Classes Department, Government of Haryana|url=http://haryanascbc.gov.in/report-of-haryana-backward-classes-commission-2012|access-date=29 August 2021|website=haryanascbc.gov.in}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:122&amp;quot;&amp;gt;{{cite web|last=Kumar|first=Sanjay|title=A tale of three cities|url=http://www.india-seminar.com/2004/534/534%20sanjay%20kumar.htm}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Clan organisation ==&lt;br /&gt;
Historically, Khatris were divided into various hierarchal [[Endogamy|endogamous]] sections. This includes [[Dhai Ghar|u&#039;&#039;rhai/dhai ghar&#039;&#039;]], &#039;&#039;char ghar&#039;&#039;, [[Bahri|&#039;&#039;barah ghar/bahri&#039;&#039;]] and &#039;&#039;bunjayee or bavanjah ghar&#039;&#039; which translated to House of 2.5, 4, 12 and 52 respectively. They formed the majority of Khatris and were deemed superior. This was followed by Sareen Khatris who formed a minority. Another sub-group of Khatris include [[Khukhrain]] which had split up from the &#039;&#039;bunjayees&#039;&#039;.&amp;lt;ref name=&amp;quot;Oldenburg 2002 41, 15422&amp;quot;&amp;gt;{{Cite book|last=Oldenburg|first=Veena Talwar|title=Dowry Murder: The Imperial Origins of a Cultural Crime|publisher=Oxford University Press|year=2002|pages=41, 154}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Group&lt;br /&gt;
!Clan names&amp;lt;ref&amp;gt;{{Cite book|last=Hardip Singh Syan|title=The Indian Economic and Social History Review: The merchant gurus: Sikhism and the development of the medieval Khatri merchant family |publisher=Sage |pages=312|citeseerx=10.1.1.885.9901}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Singh|first=Pashaura|url=https://books.google.com/books?id=ciwpDwAAQBAJ&amp;amp;dq=khatri+sub-castes&amp;amp;pg=PT79|title=Life and Work of Guru Arjan: History, Memory, and Biography in the Sikh Tradition|publisher=Oxford University Press |isbn=978-0-19-908780-8|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Damodaran|first=Harish|url=https://books.google.com/books?id=92F7DwAAQBAJ&amp;amp;dq=khatri+family+names&amp;amp;pg=PT360 |title=INDIA&#039;S NEW CAPITALISTS: Caste, Business, and Industry in a Modern Nation|publisher=Hachette India |isbn=978-93-5195-280-0|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Hanks|first=Patrick|url=https://books.google.com/books?id=vG7MZ9J6dAgC |title=Dictionary of American Family Names: 3-Volume Set|publisher=Oxford University Press, USA|isbn=978-0-19-508137-4|pages=Volume 1: (26, 86, 496, 122, 124, 162, 316, 325, 454, 477 491, 2340), Volume 2: (1,11, 32, 100, 127, 269, 288, 299, 567,600), Volume 3: (168,271, 277,572) |language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last1=Hanks|first1=Patrick|url=https://books.google.com/books?id=0AyDDQAAQBAJ|title=The Oxford Dictionary of Family Names in Britain and Ireland|last2=Coates|first2=Richard|last3=McClure|first3=Peter|publisher=Oxford University Press |isbn=978-0-19-252747-9|pages=111, 501|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:1922&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=McLeod|first=W. H.|url=https://books.google.com/books?id=vgixwfeCyDAC&amp;amp;q=google+book+famous+punjabi+khatri|title=The A to Z of Sikhism|publisher=Scarecrow Press |isbn=978-0-8108-6344-6 |pages=21,115|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|House of 2.5&lt;br /&gt;
|[[Kapoor]], [[Khanna (name)|Khanna]] and [[Mehra]]/ [[Malhotra]]&lt;br /&gt;
|-&lt;br /&gt;
|House of 4&lt;br /&gt;
|Including the above 3, [[Seth (surname)|Seth]] (also known as [[Kakkar|Kakar]])&amp;lt;ref name=&amp;quot;:02&amp;quot;&amp;gt;{{Cite book |last=Hanks |first=Patrick |url=https://books.google.com/books?id=vG7MZ9J6dAgC&amp;amp;dq=bahri+khatri&amp;amp;pg=PR97 |title=Dictionary of American Family Names: 3-Volume Set |publisher=Oxford University Press, USA |isbn=978-0-19-508137-4 |pages=84,266 |language=en}}&amp;lt;/ref&amp;gt; is also added which forms this unit&lt;br /&gt;
|-&lt;br /&gt;
|House of 12&lt;br /&gt;
|Including the above 4, [[Chopra]], [[Dhawan]], [[Mahindra (surname)|Mahindra]], [[Mehrotra]], [[Sehgal]], [[Talwar (surname)|Talwar]], [[Tandon]], [[Vohra]] and [[Wadhwan|Wadhawan]] is added&amp;lt;ref name=&amp;quot;:02&amp;quot; /&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|House of 52&lt;br /&gt;
(Bunjahis)&lt;br /&gt;
|[[Abhi (surname)|Abhi]], [[Bagga]], [[Bahl]], [[Bakshi]], [[Bassi (surname)|Bassi]], [[Beri (surname)|Beri]], [[Bhambri]], [[Bhandari]], [[Chandok (surname)|Chandok]], [[Chhachi (Punjabi clan)|Chhachhi]], [[Chowdhury|Chaudhary]], [[Dheer (surname)|Dheer]], [[Dhoopar (surname)|Dhoopar]], [[Duggal]], [[Ghai]], [[Handa (surname)|Handa]], [[Jalota (surname)|Jalota]], [[Jhanjhi (surname)|Jhanjhi]], [[Johar (surname)|Johar]], [[Kandhari]], [[Katyal]], [[Khullar]], [[Kochhar (surname)|Kochhar]], [[Lamba (surname)|Lamba]], [[Mall (surname)|Mal]], [[Madhok]], [[Mago (surname)|Mago]], [[Maini (surname)|Maini]], [[Makkar (surname)|Makkar]], [[Mangal]], [[Nanda (surname)|Nanda]], [[Puri (surname)|Puri]], [[Rana (name)|Rana]], [[Rekhi (surname)|Rekhi]], [[Sachar (name)|Sachar]], [[Sial tribe|Sial]], [[Sibal (surname)|Sibal]], [[Soi (surname)|Soi]], [[Soni (Khatri)|Soni]], [[Tangri (surname)|Tangri]], [[Thapar (surname)|Thapar]], [[Tuli (name)|Tuli]], [[Uppal (surname)|Uppal]], [[Vij]], [[Vinaik (surname)|Vinaik]] and [[Wahi (surname)|Wahi]]&lt;br /&gt;
|-&lt;br /&gt;
|Khukrains&lt;br /&gt;
|[[Anand (surname)|Anand]], [[Bhasin (surname)|Bhasin]], [[Chadha]], [[Kohli (clan)|Kohli]], [[Ghai]], [[Sabharwal]], [[Sahni]] (Sawhney), [[Sethi]] and [[Suri (name)|Suri]].&amp;lt;ref&amp;gt;{{Cite book|last=Gupta|first=Shilpy|url=https://books.google.com/books?id=vsBTFEC_mdkC&amp;amp;dq=kohli+sahni+suri+sabharwal&amp;amp;pg=PA121 |title=Human Rights Among Indian Populations: Knowledge, Awareness and Practice|publisher=Gyan Publishing House |isbn=978-81-212-1015-7 |pages=121|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Aroras&amp;lt;ref name=&amp;quot;:142&amp;quot;/&amp;gt;&lt;br /&gt;
|[[Ahuja]], [[Allawadi (surname)|Allawadi]], [[Aneja (surname)|Aneja]], [[Babbar (surname)|Babbar]], [[Bajaj (surname)|Bajaj]], [[Batra]], [[Baweja (surname)|Baweja]], [[Bhutani (surname)|Bhutani]], [[Chhabra (surname)|Chhabra]], [[Channa (surname)|Channa]], [[Chandna]], [[Chawla]], [[Chugh]], [[Dawar (surname)|Dawar]], [[Dhingra]], [[Dhuria (surname)|Dhuria]], [[Dua (surname)|Dua]], [[Dudeja (surname)|Dudeja]], [[Gambhir]], [[Gaba (surname)|Gaba]], [[Gandhi (surname)|Gandhi]], [[Gera (surname)|Gera]], [[Grover (surname)|Grover]], [[Gulati]], [[Gumber (surname)|Gumber]], [[Hans (surname)|Hans]], [[Huria (surname)|Huria]], [[Kalra (surname)|Kalra]], [[Kamra (surname)|Kamra]], [[Kaura (surname)|Kaura]], [[Khattar (clan)|Khattar]], [[Khetarpal (surname)|Khetarpal]], [[Khurana (surname)|Khurana]], [[Luthra]], [[Madaan]], [[Manchanda (surname)|Manchanda]], [[Mehndiratta (surname)|Mehndiratta]], [[Mehta]], [[Midha (surname)|Midha]], [[Miglani (surname)|Miglani]], [[Munjal]], [[Nagpal]], [[Nārang (disambiguation)#Surname|Narang]], [[Narula]], [[Pasricha (surname)|Pasricha]], [[Pruthi (surname)|Pruthi]], [[Rajpal (surname)|Rajpal]], [[Raval (surname)|Raval]], [[Sachdev]]a, [[Saini (surname)|Saini]], [[Saluja (surname)|Saluja]], [[Sardana (name)|Sardana]], [[Sethi]], [[Suneja (surname)|Suneja]], [[Taneja]], [[Tuteja]], [[Wadhwa]] and [[Walia]]&lt;br /&gt;
|-&lt;br /&gt;
|Others (including Sareens)&lt;br /&gt;
|[[Abrol]], [[Arya (surname)|Arya]], [[Ajimal (surname)|Ajimal]], [[Alagh]], [[Badhwar (surname)|Badhwar]], [[Baijal (name)|Baijal]], [[Bawa (surname)|Bawa]], [[Bedi (surname)|Bedi]], [[Bhagat]], [[Bhalla (surname)|Bhalla]], [[Bhatia caste|Bhatia]], [[Bindra]], [[Chatrath (surname)|Chatrath]], [[Chhatwal (surname)|Chhatwal]], [[Chhura (surname)|Chhura]], [[Dang (surname)|Dang]], [[Dhaliwal (surname)|Dhariwal]], [[Dewan|Diwan]], [[Goindi (surname)|Goindi]], [[Gujral]], [[Jaggi]], [[Jolley (surname)|Jolly]], [[Julka (surname)|Julka]], [[Kunwar (surname)|Kanwar]], [[Kashyap (surname)|Kashyap]], [[Kaushal]], [[Keer (surname)|Keer]], [[Khalsa]] [[Kharbanda (surname)|, Kharbanda]], [[Khosla (surname)|Khosla]], [[Lal]], [[Majithia (surname)|Majithia]], [[Malik (surname)|Malik]], [[Marwaha|Marwah]] [[Nagrath (surname)|Nagrath]], [[Nayyar (surname)|Nayyar]], [[Nijhawan (surname)|Nijhawan]], [[Oberoi]], [[Ohri (surname)|Ohri]], [[Pahwa (surname)|Pahwa]], [[Passi (surname)|Passi]], [[Popat (surname)|Popat]], [[Kanungo (surname)|Qanungo]], [[Ratra]], [[Rekhi (surname)|Rekhi]], [[Sagar (surname)|Saggar]] [[Sarna (Polish surname)|, Sarna]], [[Saund]], [[Shroff]], [[Sobti (surname)|Sobti]], [[Sodhi]], [[Sood]], [[Takiar (surname)|Takiar]], [[Thakkar]], [[Trehan (surname)|Trehan]], [[Varma (surname)|Varma]] and [[Vig (surname)|Vig]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Medieval history ==&lt;br /&gt;
Emperor [[Jahangir]] in his autobiography [[Tuzk-e-Jahangiri|Jahangirnama]] while talking about the castes, he observed &amp;quot;The second highest caste (after Brahmins in the caste system) is the Chhatri which is also known as Khattri. The Chhatri caste&#039;s purpose is to protect the oppressed from the aggression of the oppressors&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book |last=Nalwa |first=Vanit|url=https://books.google.com/books?id=ULhgNexD92QC&amp;amp;q=khatris+jahangir|title=Hari Singh Nalwa, &amp;quot;champion of the Khalsaji&amp;quot; (1791-1837) |publisher=Manohar, New Delhi|isbn=978-81-7304-785-5|pages=21|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last1=Jahangir |first1=Emperor of Hindustan|url=https://books.google.com/books?id=T_QNAQAAMAAJ&amp;amp;q=the+second+caste+is+chhatri,+which+is+also+known+as+khattri+kachhi |title=The Jahangirnama: Memoirs of Jahangir, Emperor of India|last2=Hindustan)|first2=Jahangir (Emperor of|publisher=Freer Gallery of Art, Arthur M. Sackler Gallery|isbn=978-0-19-512718-8|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Benares ===&lt;br /&gt;
According to scholars, the Khatri Hindus dominated the [[Textile industry in India|weaving industry]] in Benaras. When the first caravan of Muslim weavers arrived in [[Varanasi|Benaras]], the Khatri, who were considered low-caste Hindus at the time, helped them. The Muslims had to depend on the Khatri weavers because the Muslims found it difficult to interact with the high-caste Hindus directly at the time. Since these new immigrant Muslims were cheap labour, the Khatris took over marketing and thus transited from weavers to traders over time. The Muslims, who learned the technique of [[weaving]] from them, soon came to be known as &#039;&#039;Chira-i-Baaf&#039;&#039; or &#039;fine cloth weavers&#039;.&amp;lt;ref name=&amp;quot;alam172&amp;quot;&amp;gt;{{cite journal|author=Parvez Alam|title=Trade, Textile and other Industrial Activities: A Study of Banaras region in Medieval India|url=http://pu.edu.pk/images/journal/indianStudies/PDF/4_v3_1_17.pdf |journal=Journal of Indian Studies |volume=3 |issue=1|pages=49–56|quote=When the first caravan of Muslim weavers known as &#039;sat gharua&#039; entered Banaras, there was monopoly of Khatri Hindus over the weaving industry in Banaras. The Khatri Hindus known as Pattikas or Pattakars assisted to these immigrant Muslim weavers in founding their craft both by cash and raw material. Since these Muslims were not allowed to have any direct connection with high caste Hindus, the finished products of Muslims were marketed by the Khatris. The Muslim weavers were good in weaving and their labour was cheap for they had to take whatever they were paid to establish themselves. Now the Khatris started focusing more on marketing. By this way, weaving from the Khatris passed into the hands of the Muslims. Gradually, the Khatris became traders.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Pandey812&amp;quot;&amp;gt;{{cite book|author=Badri Prasad Pandey|title=Banaras Brocades: Structure and Functioning|publisher=Gandhian Institute of Studies|year=1981|page=18|quote=Muslim community learned the art of weaving from the Pattikas khatris - a low Hindu caste at that time. It was easier to mix with low Hindu castes than higher one for muslims. The muslims who installed their own looms and learnt weaving were known as &#039;chira-i- Baaf&#039; meaning &#039;Fine cloth weavers&#039;. By and by Pattikas khatris withdrew from the scene and it was replaced by muslim community&amp;quot; When muslim community came to Varanasi after conquering Varanasi they settled at Alaipura and other muslim localities}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Bengal===&lt;br /&gt;
[[File:Burdwan_bahadur_96_4.jpg|right|thumb|225x225px|Mehtab Chand of Burdwan, c. 1860-65]]In Bengal, [[Burdwan Raj]] (1657–1955) was a Khatri dynasty, which gained a high social position for Khatris in the region resulting in greater migration of Khatris from North to Bengal.&amp;lt;ref name=&amp;quot;Puri2&amp;quot;&amp;gt;{{cite book |author=Baij Nath Puri |title=The Khatris, a Socio-cultural Study |publisher=M.N. Publishers and Distributors |year=1988 |language=en |quote=The history of Burdwan Raj seems to mark the beginning of Khatri migration or its efflorescence of the Khatris in Bengal.}}&amp;lt;/ref&amp;gt;{{page needed}} When Guru [[Tegh Bahadur]] visited Bengal in 1666, he was welcomed by the local Khatris, thereby supporting earlier waves of migration of Khatris to Bengal as well.&amp;lt;ref name=&amp;quot;McLane2&amp;quot;&amp;gt;{{cite book |author=John R. McLane |title=Land and Local Kingship in Eighteenth-Century Bengal |publisher=Cambridge University Press |year=1993 |page=132 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Punjab ===&lt;br /&gt;
Historian [[Muzaffar Alam]] describes the Khatris of Punjab as a &amp;quot;scribe and trading caste&amp;quot;. They occupied positions in revenue collection and record keeping and learnt [[Persian language|Persian]] during Mughal era. However, this profession often created conflicts with the Brahmin scribes who discontinued the use of Persian and started using Marathi in the Deccan.&amp;lt;ref name=&amp;quot;OHanlon201422&amp;quot;&amp;gt;{{cite book|author=Rosalind O&#039;Hanlon|title=Routledge Handbook of the South Asian Diaspora|year=2014|isbn=9781136018329|editor1=Joya Chatterji|pages=97–98|chapter=Scribal migrations in early modern India |quote=In northern India and Rajput states, Persian assimilated Kayasths and the khatris were the leading scribal people. These communities were not Brahmans, but had early in the second millennium developed as specialised scribes and clerks. Popular literatures reviled them for the influence they were able to command as royal scribes, but they also appear in inscriptional literature represented as pious donors and great men in their own right. Originally serving medieval Hindu kings, the coming of the Muslim empires opened up new opportunities for them. In these new courtly contexts, their willingness to assimilate themselves to the Persianate language and the culture of Muslim courts gave them a sharp advantage - although often, in the process, attracting sharp hostility from Brahman scribal rivals(O&#039;Hanlon 2010b:563-95)|editor2=David Washbrook|chapter-url=https://books.google.com/books?id=1hCUAgAAQBAJ&amp;amp;pg=PT98}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Avari201322&amp;quot;&amp;gt;{{cite book|author=Burjor Avari|url=https://books.google.com/books?id=hGHpVtQ8eKoC&amp;amp;pg=PA142 |title=Islamic Civilization in South Asia:A History of Muslim Power and Presence in the Indian Subcontinent |publisher=Routledge |year=2013 |isbn=9780415580618 |page=142|quote=Anyone who wished to enter the large Mughal bureaucracy as an accountant or a scribe had to be well qualified in Persian, since all papers and imperial orders (firmans) were written in that language. The elders of the Hindu castes such as Kayasths and Khatris, who were professional scribes, encouraged their children to learn Persian; and Hindu writers in Persian increased greatly in numbers through the eighteenth century.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Pollock200323&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;Spruyt202022&amp;quot;&amp;gt;{{cite book|author=Hendrik Spruyt|url=https://books.google.com/books?id=3BzhDwAAQBAJ&amp;amp;pg=PA200|title=The World Imagined: Collective Beliefs and Political Order in the Sinocentric, Islamic and Southeast Asian International Societies |publisher=Cambridge University Press|year=2020|isbn=978-1108811743|page=200|quote=Kayastha and Khatri caste members acted as scribes (monshi) throughout the Mughal dynasty, and in so doing occupied positions in revenue collection, and record keeping}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Adrahtas202022&amp;quot;&amp;gt;{{cite book |author=Prashant Keshavmurthy|title=Islam, Civility and Political Culture|publisher=Palgrave Macmillan|year=2020|isbn=9783030567613|editor1=Milad Milani |page=121|chapter=The limits of Islamic civility in India|quote=Writing in the 1760s in the Deccan districts of the Mughal empire, he was witness to the rise there of the Brahmin Peshwas who took over the Mughal Bureaucracy and promoted Marathi in place of Persian, displacing the North Indian Persian-literate Hindu scribes of the Kāyastha and Khatri castes.|editor2=Vassilios Adrahtas|chapter-url=https://books.google.com/books?id=5P0MEAAAQBAJ&amp;amp;pg=PA121}}&amp;lt;/ref&amp;gt; According to McLane, them being a trading group, had spread into many parts of India, possibly long before the 1700s and to Bengal, possibly even before the Mughals arrived.&amp;lt;ref&amp;gt;{{cite book|last=McLane|first=John R.|title=Land and Local Kingship in Eighteenth-Century Bengal|publisher=Cambridge University Press|year=2002|isbn=978-0-521-52654-8|page=131|quote=The Khatris were a Punjabi mercantile caste who claimed to be Kshatriyas. Nineteenth-century Indians and British administrators failed to agree whether that claim should be accepted. The fact that overwhelming majority were engaged in Vaishya (mercantile), not Kshatriya (military), pursuits was balanced against the Khatri origin myths...By the eighteenth century, and probably long before, they were a dominant group in the trade of the Punjab and Afghanistan, and they had penetrated into Turkistan and also east and south into many parts of India. ...This raises the possibility that Khatris were resident in Bengal in pre-Mughal times.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
[[File:Raja_Todar_Mall,_Finance_Minister_of_Akbar.jpg|thumb|231x231px|Raja Todar Mall, Finance Minister of Akbar 17th Century Painting Gouache on paper]]&lt;br /&gt;
The most prominent Mughal Khatri noble was [[Todar Mal|Raja Todar Mal]], who was the Finance Minister of the Empire. He introduced an entirely new system of revenue and taxation known as &#039;&#039;zabt&#039;&#039; and &#039;&#039;dahshala&#039;&#039; respectively.&amp;lt;ref name=&amp;quot;:2222&amp;quot;&amp;gt;{{Cite book|last=Das|first=Kumudranjan|url=https://archive.org/details/in.ernet.dli.2015.149505|title=Raja Todar Mal|pages=138–150}}&amp;lt;/ref&amp;gt; According to a 17th century legend, they continued their military service until the time of [[Aurangzeb]], when their mass death during the emperor&#039;s Deccan Campaign caused him to order their [[Women in Hinduism#Widowhood and remarriage|widows to be remarried]]. The order was made out of sympathy for the widows but when the Khatri community leaders refused to obey it, Aurangzeb [[Termination of employment|terminated]] their military service and said that they should be shopkeepers and brokers.&amp;lt;ref name=&amp;quot;:110&amp;quot;&amp;gt;{{cite book|last=McLane|first=John R.|url=https://books.google.com/books?id=YH6ijJnUPmcC&amp;amp;pg=PA132|title=Land and Local Kingship in Eighteenth-Century Bengal|publisher=Cambridge University Press|year=2002|isbn=978-0-521-52654-8|pages=132–133}}&amp;lt;/ref&amp;gt; This legend is probably fanciful: McLane notes that a more likely explanation for their revised position was that a Sikh rebellion against the Mughals in the early 1700s severely compromised the Khatri&#039;s ability to trade and forced them to take sides. Those who were primarily dependent on the Mughals went to significant lengths to assert that allegiance in the face of accusations that they were in fact favouring &amp;quot;[[Jat Sikh]] followers of the rebel leader, [[Banda Singh Bahadur|Banda]]&amp;quot;. The outcome of their assertions - which included providing financial support to the Mughals and shaving their beards - was that the Khatris became still more important to the Mughal rulers as administrators at various levels, in particular because of their skills in financial management and their connections with bankers.&amp;lt;ref name=&amp;quot;:110&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Khatri standards of literacy and caste status were such during the early years of Sikhism that, according to [[W. H. McLeod]], they dominated it.&amp;lt;ref name=&amp;quot;syan22&amp;quot;&amp;gt;{{cite book|last=Syan|first=Hardip Singh|url=https://books.google.com/books?id=9RzzxcEL4C0C&amp;amp;pg=PA35|title=Sikh Militancy in the Seventeenth Century: Religious Violence in Mughal and Early Modern India|publisher=I. B. Tauris|year=2013|isbn=978-1-78076-250-0|pages=35, 39}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
[[File:Khatri weaver.png|thumb|198x198px|A Gujarati Khatri weaver]]&lt;br /&gt;
&lt;br /&gt;
===Gujarat===&lt;br /&gt;
Historian Douglas E. Hanes states that the Khatri weavers in Gujarat trace their ancestry to either [[Champaner]] ([[Panchmahal district|Panch Mahals District]]) or [[Hinglaj]] (Sindh) and the community genealogists believe that the migration happened during the late sixteenth&#039; century.&amp;lt;ref&amp;gt;{{cite book |url=https://books.google.com/books?id=-xS4O4yHQiMC&amp;amp;pg=PA31 |title=Small Town Capitalism in Western India:Artisans, Merchants and the making of the Informal Economy |publisher=Cambridge University Press |year=2012 |isbn=9780521193337 |page=31 |quote=Weavers and other artisans frequently moved to places where the prospects for international trade or state patronage were great. Khatri weavers living in Gujarat largely trace their ancestry to Champaner in the current Panch Mahals district or to Hinglaj in Sind. Community genealogists today preserve the memory of how Khatri families fanned out through towns in central and southern Gujarat during the late sixteenth century, a period of rapid expansion in the region&#039;s foreign trade.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Suraiya Faroqhi]], writes that, in 1742 Gujarat, the Khatris had protested the immigration of Muslim weavers by refusing to deliver cloth to the East India Company. In another case Khatris taught weaving to [[Patidar|Kunbis]] due to receiving excessive orders who soon became strong competitors to the Khatris much to their chagrin. In the mid-1770s, the Mughal governor granted the Kunbi rivals rights to manufacture [[sari]]s. This licence was later revoked in 1800 due to pressure from the British, after a deal was struck between the Khatris and the [[East India Company]], in which the Khatris would weave only for the EIC until certain quotas were met.&amp;lt;ref&amp;gt;{{cite book|author=Suraiya Faroqh|url=https://books.google.com/books?id=DvalDwAAQBAJ&amp;amp;pg=PA254 |title=The Ottoman and Mughal Empires: Social History in the Early Modern World|publisher=Bloomsbury Publishing |year=2019 |isbn=9781788318730 |page=254 |quote=In the study of the political economy of Gujarat in the second half of the eighteenth century, the author points out that castes and subcastes did not prevent inter-caste mobility. Thus, when the Khatri weavers found that they have more orders for high-quality cottons than they could fill on their own, they employed adjuncts from another caste known as Kunbis. The latter soon learnt the craft and turned into formidable competitors. Particularly, the Khatris resented that at some time in the mid-1770s, at the very end of the period studied here, the Mughal governor had granted their Kunbi rivals the right to manufacture saris, a popular female garment. In 1742, the Khatri weavers refused to deliver cloth to the EIC to protest against the immigration of Muslim weavers; it is difficult to say whether this strike was a purely economic matter or whether religion, status and caste were an issue as well.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Qazi20142&amp;quot;&amp;gt;{{cite book|author=Moin Qazi|url=https://books.google.com/books?id=4Y8uBQAAQBAJ&amp;amp;pg=PT147|title=Woven Wonders of the Deccan |publisher=Notion Press|year=2014|isbn=978-93-83808-62-5|pages=147–|quote=With the Muslim invasion the hereditary art fell on bad times, as the khatri community of weavers scattered far and wide in search of work}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Nadri|first=Ghulam A.|title=Eighteenth Century Gujarat: The Dynamics of Its Political Economy, 1750-1800|publisher=Brill|year=2009|isbn=978-90-04-17202-9|pages=26–28, 31}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The [[Gujarat Sultanate]] (1407-1523) was a medieval Muslim dynasty founded by [[Muzaffar Shah I|Zafar Khan Muzaffar]], a member of the Tank caste originally from South Punjab.&amp;lt;ref&amp;gt;{{Cite book|last=Kapadia|first=Aparna|url=https://books.google.com/books?id=qrxsDwAAQBAJ|title=Gujarat: The Long Fifteenth Century and the Making of a Region|publisher=Cambridge University Press|isbn=978-1-107-15331-8|pages=120|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Wink|first=André|url=https://books.google.com/books?id=nyYslywJUE8C&amp;amp;q=muzaffar+khan+tank+khatri&amp;amp;pg=PA143|title=Indo-Islamic society: 14th - 15th centuries|publisher=BRILL|isbn=978-90-04-13561-1|pages=143|language=en|quote=Similarly, Zaffar Khan Muzaffar, the first independent ruler of Gujarat was not a foreign muslim but a Khatri convert, of low subdivision called Tank.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Khan|first=Iqtidar Alam |url=https://books.google.com/books?id=pzZFUcDpDzsC&amp;amp;q=muzaffar+shah+tank+khatri&amp;amp;pg=PA107|title=Historical Dictionary of Medieval India|publisher=Scarecrow Press|isbn=978-0-8108-5503-8|pages=107|language=en|quote=The founder of the Gujarat Sultanate he was a convert from a sect of Hindu Khatris known as Tanks.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Misra|first=S. C. (Satish Chandra)|url=https://archive.org/details/riseofmuslimpowe0000unse|title=The rise of Muslim power in Gujarat; a history of Gujarat from 1298 to 1442|publisher=New York, Asia Pub. House|others=Internet Archive |pages=137 |quote=Zafar Khan was not a foreign muslim. He was a convert to Islam from a sect of the Khatris known as Tank.}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Khan |first=Iqtidar Alam |url=https://books.google.com/books?id=s4PfAAAAMAAJ|title=Gunpowder and Firearms: Warfare in Medieval India|publisher=Oxford University Press|isbn=978-0-19-566526-0|pages=57|language=en|quote=Zafar Khan (entitled Muzaffar Shah) himself was a convert to Islam from a sub-caste of the Khatris known as Tank.}}&amp;lt;/ref&amp;gt; The Tanks have been stated to be Khatris by some scholars, although others have stated the Tanks were Rajputs.,&amp;lt;ref&amp;gt;{{Cite book|last=Abbas|first=Syed Anwer|url=https://books.google.com/books?id=Bys8EAAAQBAJ&amp;amp;q=confluence+of+culture+tanka+rajput&amp;amp;pg=PT24 |title=Confluence of Cultures: Hindu, Muslim, Buddhists &amp;amp; Jain mosque and Mausoleum|publisher=Notion Press|year=2021|isbn=9781639046041}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Chandra|first=Satish|url=https://books.google.com/books?id=L5eFzeyjBTQC&amp;amp;q=Sadharan&amp;amp;pg=PA70|title=Medieval India (From Sultanat to the Mughals), PART ONE Delhi Sultanat (1206-1526)|publisher=Har-Anand Publications|year=2004|isbn=9788124110645|pages=218}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Muzaffar Husain Syed|first=Syed Saud Akhtar, BD Usmani|title=Concise History of Islam|year=2011|pages=271}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:0222&amp;quot;&amp;gt;{{Cite book |last=Kapadia |first=Aparna |url=https://books.google.com/books?id=qrxsDwAAQBAJ&amp;amp;q=aparna+kapadia+tank+rajput&amp;amp;pg=PA8|title=Gujarat: The Long Fifteenth Century and the Making of a Region |publisher=Cambridge University Press|year=2018|isbn=9781107153318|pages=8}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Edward James Rapson|first=Sir Wolseley Haig, Sir Richard Burn|title=The Cambridge History of India: Turks and Afghans, edited by W Haig, 1965|publisher=Cambridge|year=1965|pages=294}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Chaube|first=J.|url=https://books.google.com/books?id=m94BAAAAMAAJ|title=History of Gujarat Kingdom, 1458-1537 |publisher=Munshiram Manoharlal Publishers|isbn=9780883865736|page=4|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Mahajan |first=VD |url=https://books.google.com/books?id=JnscEAAAQBAJ&amp;amp;q=mahajan+zafar+khan+rajput&amp;amp;pg=PA245 |title=History of Medieval India|publisher=S. Chand |year=2007 |isbn=9788121903646 |pages=245}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Jenkins|first=Everett|url=https://books.google.com/books?id=giEkCQAAQBAJ&amp;amp;q=jenkins+rajput+everett+zafar+khan&amp;amp;pg=PA275 |title=The Muslim Diaspora - A comprehensive reference to the spread of Islam in Asia, Africa, Europe and the America, 570 - 1799 |publisher=McFarland &amp;amp; Company Inc.|year=2010|isbn=9780786447138|pages=275}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Jutta|first=Jain-Neubauer |title=The Stepwells of Gujarat: In Art- Historical perspective|year=1981|pages=62}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Saran|first=Kishori Lal |url=https://books.google.com/books?id=hxZuAAAAMAAJ&amp;amp;q=kishori+saran+lal+wajih-ul-mulk|title=The legacy of Muslim Rule in India|publisher=Aditya Prakashan |year=1992|isbn=9788185689036|pages=233}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Lane-Pool|first=Stanley|url=https://books.google.com/books?id=5fDgAwAAQBAJ&amp;amp;q=stanley+pool+zafar+khan+rajput&amp;amp;pg=PA312|title=Mohammadan Dyn: Orientalism V 2 - volume 2, page -312, writer|year=2014|isbn=9781317853947|pages=312}}&amp;lt;/ref&amp;gt; or even a [[Jat]]&amp;lt;ref&amp;gt;{{cite book |url=https://books.google.com/books?id=MazdaWXQFuQC&amp;amp;dq=Zafar+Khan%27s+father+Sadharan%2C+was+a+Jat+convert+to+Islam.&amp;amp;pg=RA1-PA131 |title=Indian History |year=1988 |isbn=9788184245684}}&amp;lt;/ref&amp;gt; He started as a menial but rose to the level of a noble in the [[Delhi Sultanate|Delhi Sultan&#039;s]] family and became the Governor of Gujrat. After Timur attacked the city, people fled to Gujarat and it became independent.&amp;lt;ref name=&amp;quot;Wink 1990 1432&amp;quot;&amp;gt;{{Cite book|last=Wink|first=André|url=https://books.google.com/books?id=nyYslywJUE8C&amp;amp;pg=PA143 |title=Indo-Islamic society: 14th - 15th centuries |publisher=BRILL |isbn=978-90-04-13561-1 |pages=143 |language=en |quote=Similarly, Zafar Khan Muzaffar, the first independent ruler of Gujarat, was not a foreign muslim but a Khatri convert, of a low subdivision called Talk, originally from southern Punjab, but born in Delhi, where he rose from menial to noble status in the Delhi sultan&#039;s household. As the governor of Gujarat he became independent from Delhi after Timur devastated the city an immense number of people fled to Gujarat..}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Misra633&amp;quot;&amp;gt;{{Cite book|last=Misra|first=S. C. (Satish Chandra)|url=https://archive.org/details/riseofmuslimpowe0000unse|title=The rise of Muslim power in Gujarat; a history of Gujarat from 1298 to 1442|publisher=New York, Asia Pub. House|others=Internet Archive|pages=137–138|quote=[137]Khatris were an agrarian people belonging mainly to south Punjab; claiming descent from Kshatriyas of old. It is for this reason that Sikander gives a long genealogy that would link the Sultans of Gujarat with Ramachandra, in other words, with the Suryavanshis. Like most genealogies fabricated to glorify royalty, it is obviously a fake.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
=== Afghanistan ===&lt;br /&gt;
According to historians Roger Ballard and [[Harjot Oberoi]], Afghan Hindus and Sikhs descend from the members of the country&#039;s indigenous Khatri population who resisted the conversion from [[Buddhism]] to Islam between 9th and 13th centuries. Later, they aligned themselves to the teachings of Guru Nanak, himself a Khatri and converted to Sikhism. Hence, Khatris of Afghanistan are in no way of &amp;quot;Indian origin&amp;quot; but are components of the original population of the region. [[George Campbell (civil servant)|George Campbell]] says &amp;quot;I do not know the exact limits of Khatri occupation to the West, but certainly in all Eastern Afghanistan they seem to be just as much part of the community as they are in the Punjab. They find their way into Central Asia.&amp;quot;&amp;lt;ref name=&amp;quot;:1822&amp;quot;/&amp;gt;[[File:Hari_Singh_Nalwa_on_Elephant.jpg|thumb|256x256px|ca. 19th century, paint on paper A military procession of Hari Singh Nalwa (1791–1837), one of the greatest generals of the Sikh Empire. The military procession depicted is led by two horsemen carrying battle standards]]&lt;br /&gt;
&lt;br /&gt;
== Sikh Empire ==&lt;br /&gt;
The Khatris took on a prominent role in the emerging Sikh milieu of post-Mughal Punjab. According to the Khalsa Durbar Records, [[Ranjit Singh|Maharaja Ranjit Singh]]&#039;s army was composed of majorly Jats followed by Khatris.&amp;lt;ref&amp;gt;{{Cite book|last=Singh|first=Rishi|url=https://books.google.com/books?id=EPCICwAAQBAJ&amp;amp;q=khalsa+durbar+khatris|title=State Formation and the Establishment of Non-Muslim Hegemony: Post-Mughal 19th-century Punjab|publisher=SAGE Publications India|isbn=978-93-5150-504-4|pages=199|language=en}}&amp;lt;/ref&amp;gt; [[Sardar Gulab Singh Khatri]] founded the [[Dallewalia Misl|Dallewallia Misl]], an independent 18th century Sikh sovereign state in [[Ludhiana district|Ludhiana]] and [[Jalandhar district|Jalandhar]] district that would later on join Maharaja Ranjit Singh&#039;s kingdom.&amp;lt;ref&amp;gt;{{Cite book|last1=Mandair|first1=Arvind-Pal S.|url=http://dx.doi.org/10.4324/9781315028583 |title=Sikh Religion, Culture and Ethnicity|last2=Shackle|first2=Christopher|last3=Singh|first3=Gurharpal|publisher=Routledge |isbn=978-1-136-84627-4|doi=10.4324/9781315028583}}&amp;lt;/ref&amp;gt;{{page needed}}&amp;lt;ref&amp;gt;{{Cite book|last=Dhavan|first=Purnima|url=http://dx.doi.org/10.1093/acprof:oso/9780199756551.001.0001|title=When Sparrows Became Hawks|publisher=Oxford University Press |isbn=978-0-19-975655-1 |doi=10.1093/acprof:oso/9780199756551.001.0001}}&amp;lt;/ref&amp;gt;{{page needed}} In the Sikh Empire, [[Hari Singh Nalwa]] (1791–1837) an Uppal Khatri from [[Gujranwala]], became the Commander-in-chief of the [[Sikh Khalsa Army]].&amp;lt;ref&amp;gt;{{Cite book|last=Naīara|first=Gurabacana Siṅgha|url=https://books.google.com/books?id=e5BHAAAAMAAJ|title=The Campaigns of General Hari Singh Nalwa|publisher=Punjabi University |isbn=978-81-7380-141-9|language=en}}&amp;lt;/ref&amp;gt;{{page needed}} He led the Sikh conquests of [[Kasur]], [[Sialkot]], [[Attock]], [[Multan]], [[Kashmir]], [[Peshawar]] and [[Jamrud]]. He was responsible for expanding the frontier of Sikh Empire to beyond the [[Indus River]], up to the mouth of the [[Khyber Pass]]. At the time of his death, the western boundary of the empire was Jamrud.&amp;lt;ref&amp;gt;{{Cite book |last=Kapūra |first=Prithīpāla Siṅgha |url=https://books.google.com/books?id=v49HAAAAMAAJ |title=Perspectives on Hari Singh Nalwa |publisher=ABS Publications |isbn=978-81-7072-056-0 |language=en}}&amp;lt;/ref&amp;gt;{{page needed}}&lt;br /&gt;
&lt;br /&gt;
[[Dewan Mokham Chand]] (1750-1814) became one of the most distinguished leaders of the Khalsa Army. He was the commander in chief of armies in [[Battle of Attock]] which defeated [[Durrani Empire]] Wazir Fateh Khan and [[Dost Mohammad Khan]]&amp;lt;ref&amp;gt;{{Citation|last=Singh|first=Khushwant|title=Constitutional Reforms and the Sikhs|url=http://dx.doi.org/10.1093/acprof:oso/9780195673098.003.0014|work=A History of the Sikhs |pages=216–234 |publisher=Oxford University Press|doi=10.1093/acprof:oso/9780195673098.003.0014|isbn=978-0-19-567309-8|access-date=31 July 2021}}&amp;lt;/ref&amp;gt; Other Khatris like [[Diwan Sawan Mal Chopra]] served as governors of [[Lahore]] and [[Multan]], after helping conquer the region&amp;lt;ref name=&amp;quot;syan22&amp;quot;/&amp;gt; while his son [[Diwan Mulraj Chopra]], (1814-1851) the last [[Punjabis|Punjabi]] ruler of Multan led a Sikh rebellion against British suzerainty over Multan after the fall of the [[Sikh Empire]] in the [[Anglo-Sikh wars (disambiguation)|Anglo-Sikh Wars]]. He was arrested after the Siege of Multan and put to death.&amp;lt;ref&amp;gt;Hernon, Ian (2002). &#039;&#039;Britain&#039;s Forgotten Wars&#039;&#039;. Sutton Publishing&amp;lt;/ref&amp;gt;{{page needed}}&lt;br /&gt;
&lt;br /&gt;
Purnima Dhawan described that together with [[Jat people|Jat]] community, the Khatris gained considerably from the expansion of the Mughal empire, although both groups supported [[Guru Hargobind]] in his campaign for Sikh self-government in the Punjab plains.&amp;lt;ref&amp;gt;{{cite book |last=Dhavan |first=Purnima |url=https://books.google.com/books?id=q0ZpAgAAQBAJ&amp;amp;pg=PA31|title=When Sparrows Became Hawks: The Making of the Sikh Warrior Tradition, 1699-1799 |publisher=Oxford University Press|year=2011|isbn=978-0-19987-717-1|pages=3, 30–31}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the 1830s, Khatris were working as [[governor]]s in the districts like [[Bardhaman district|Bardhaman]], [[Lahore]], [[Multan]], [[Peshawar District|Peshawar]] and [[Hazara, Pakistan|Hazara]], but independent from the Mughal rule.&amp;lt;ref&amp;gt;{{Cite book|last=Nirad Baran|first=Sarkar|title=Bardhaman Raj|publisher=Sujata Sarkar|year=1999|pages=210}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:43&amp;quot;/&amp;gt;{{page needed}}&amp;lt;ref name=&amp;quot;:63&amp;quot;&amp;gt;{{Cite book |last=Hans |first=Herrli |title=The Coins of the Sikhs|publisher=Munshiram Manoharlal|year=2004|isbn=8121511321|location=Delhi|pages=122–123}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== British Colonial Era ==&lt;br /&gt;
[[File:KishenPershad_ca1915.jpeg|thumb|201x201px|Maharaja Kishen Pershad, c. 1915]]&lt;br /&gt;
&lt;br /&gt;
===Punjab===&lt;br /&gt;
In Punjab, they were moneylenders, shopkeepers and grain-dealers among other professions.&amp;lt;ref name=&amp;quot;Brass3&amp;quot;/&amp;gt;&lt;br /&gt;
=== Hyderabad ===&lt;br /&gt;
A Peshkari Khatri family in [[Hyderabad State]] would become part of the Hyderabadi nobility and occupy the post of Prime Minister of Hyderabad. Notable individuals of the family include [[Kishen Pershad|Maharaja Kishen Prasad]], [[Order of the Indian Empire|GCIE]] who would serve as Prime Minister of the State twice.&amp;lt;ref&amp;gt;{{Cite book|last1=Patel|first1=Alka|url=https://books.google.com/books?id=GU8zAQAAQBAJ|title=Indo-Muslim Cultures in Transition |last2=Leonard|first2=Karen|publisher=BRILL|isbn=978-90-04-21887-1|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Leonard|first=Karen Isaksen|url=https://books.google.com/books?id=32aMey7k-IYC&amp;amp;q=kishen+pershad+khatri&amp;amp;pg=PA183|title=Social History of an Indian Caste: The Kayasths of Hyderabad|publisher=Orient BlackSwan|isbn=978-81-250-0032-7|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Bawa |first=Basant K. |url=https://books.google.com/books?id=h45uAAAAMAAJ&amp;amp;q=kishen+pershad+khatri|title=The Last Nizam: The Life and Times of Mir Osman Ali Khan |publisher=Viking|isbn=978-0-670-83997-1|language=en}}&amp;lt;/ref&amp;gt; In [[Hyderabad]], around the mid-20th century, Khatris and [[Padmasali (caste)|Padmasalis]] were the leading &amp;quot;Hindu weaving castes&amp;quot; who owned 43% of the [[loom]]s. The Khatris specialised in silk, while the Padmasalis in cotton weaving.&amp;lt;ref name=&amp;quot;RoyRoy19992&amp;quot;&amp;gt;{{cite book|author1=Tirthankar Roy|url=https://books.google.com/books?id=ZTo1tALvvEsC&amp;amp;pg=PA93|title=Traditional Industry in the Economy of Colonial India|author2=Roy|publisher=Cambridge University Press|isbn=978-0-521-65012-0|pages=93–|quote=43 percent of the looms were owned by the main Hindu weaving castes, Khatri(silk) and Salis/padmasalis(cotton)}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Gujarat===&lt;br /&gt;
In [[Gujarat]], during the colonial rule, Khatris contributed greatly to the weaving industry there. They as well as the Muslim and [[Kunbi]] weavers purchased imported yarn in the 1840s. In [[Mandvi]], the silk products were highly valued and the Khatri dyers would work in the pits on the bank of the [[Rukmavati River|river Rukmavati]] because the water was supposed to have special properties to give steadfast colours. These products were often exported to east Africa.&amp;lt;ref name=&amp;quot;Shah20122&amp;quot;&amp;gt;{{cite book|author=A.M. Shah|url=https://books.google.com/books?id=EjORKo7maRUC&amp;amp;pg=PA127|title=The Structure of Indian Society: Then and Now|publisher=Routledge|isbn=978-1-136-19770-3|pages=126–127|quote=A large number of specialized artisan and craftsmen castes lived almost entirely in towns, as for example Soni(goldsmith), Kansara(brazier), chudgar(bangle-maker), chhipa(dyer, printer), bhavsar(weaver, dyer, printer), khatri(cotton weaver), salvi(silk weaver), kadiya(brick layer)..and Darji(tailor)}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Mehta19912&amp;quot;&amp;gt;{{cite book|author=Makrand Mehta|url=https://books.google.com/books?id=9lz3gNDMbWEC&amp;amp;pg=PA176|title=Indian Merchants and Entrepreneurs in Historical Perspective: With Special Reference to Shroffs of Gujarat, 17th to 19th Centuries|publisher=Academic Foundation|year=1991|isbn=978-81-7188-017-1|pages=176–|quote=In the 1840&#039;s a large number of weavers, mostly belonging to the kanbi and the Khatri castes and also the Muslim weavers, increasingly purchased machine made imported yarn to weave them into superior textila goods.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;AlpersGoswami20192&amp;quot;&amp;gt;{{cite book|author1=Edward A. Alpers |url=https://books.google.com/books?id=2lyNDwAAQBAJ&amp;amp;pg=PT176|title=Transregional Trade and Traders: Situating Gujarat in the Indian Ocean from Early Times to 1900|author2=Chhaya Goswami|publisher=OUP India|isbn=978-0-19-909613-8|pages=176–|quote=In the last place, &#039;silk weaving[was] carried on to a large extent.&#039; the products &#039;much valued for the fastness of the dye&#039;, with Khatri dyers working at &#039;pits on the banks of the dry river Rukmavati where water is said to give specially clear and lasting colors&#039;}}&amp;lt;/ref&amp;gt; In Dhamadka, [[Kutch district|Kutch]], [[Woodblock printing|&amp;quot;block printing cloth&amp;quot;]] was the traditional occupation of the Khatri men since the seventeenth century.&amp;lt;ref name=&amp;quot;BarensteinLeemann20122&amp;quot;&amp;gt;{{cite book |author1=Jennifer E. Duyne Barenstein|url=https://books.google.com/books?id=Xj3OBQAAQBAJ&amp;amp;pg=PA286|title=Post-Disaster Reconstruction and Change: Communities&#039; Perspectives|author2=Esther Leemann|publisher=CRC Press|isbn=978-1-4398-8817-9|pages=286–|quote=Block printing cloth, the traditional occupation of Khatri men, has been practiced in Dhamadka since the time of its foundation some 400 years ago.}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Paine20012&amp;quot;&amp;gt;{{cite book |author=Sheila Paine |author-link=Sheila Paine |url=https://books.google.com/books?id=VUDrAAAAMAAJ |title=Embroidery from India and Pakistan |publisher=British Museum Press |year=2001|isbn=978-0-7141-2744-6 |page=11 |quote=Block printing is done with a resist substance by both Muslims and Hindus of the Khatri caste, and block printers can still be found in many villages. The background fabric for this work is normally red}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Rajasthan ===&lt;br /&gt;
In the early 19th century, the Khatris, [[Bhatia caste|Bhatias]] and [[Lohana]]s were the main trading castes in [[Rajasthan]], [[Delhi]], [[Agra]], [[Sind]] and [[Punjab]].&amp;lt;ref&amp;gt;{{cite book|author=Tirthankar Roy|url=https://books.google.com/books?id=6tQBEAAAQBAJ&amp;amp;pg=PT44|title=The Economic History of India, 1857–2010|publisher=Oxford University Press|isbn=978-0-19-099203-3|page=44}}&amp;lt;/ref&amp;gt; Banking, trading and business were considered &amp;quot;traditional occupations of the Khatri in Rajasthan&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book|title=India&#039;s Communities|publisher=Oxford University Press |year=1998 |isbn=978-0-19-563354-2|editor1-last=Singh|editor1-first=Kumar Suresh|editor1-link=Kumar Suresh Singh|volume=2 H–M|location=New Delhi, India|pages=1722, 1728–1729}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Culture and lifestyle ==&lt;br /&gt;
According to [[Prakash Tandon]], during Khatri weddings, a ritual is carried out to test the Khatri groom&#039;s strength. The groom is supposed to slice the thick branch or stem of a [[Prosopis cineraria|Jandi Tree]] (Prosopis cineraria) in one blow using a sword.&amp;lt;ref&amp;gt;{{Cite book |last=Tandon |first=Prakash |url=https://books.google.com/books?id=p6zTk-ibjTwC&amp;amp;q=punjabi+khatri+history |title=Punjabi Century, 1857-1947 |publisher=University of California Press |isbn=978-0-520-01253-0 |pages=136 |language=en}}&amp;lt;/ref&amp;gt;{{Better source needed|reason=Tandon was a businessman, see [[BP:HISTRS]]}} During the pregnancy period of a female, a [[baby shower]] ceremony called &amp;quot;reetan&amp;quot; or &amp;quot;goadbharai&amp;quot; is carried out amongst Khatris and Aroras. During the event, gifts are showered to the pregnant mother from family and friends among other traditions.&amp;lt;ref&amp;gt;{{Cite book |last=Rait |first=S. K. |url=https://books.google.com/books?id=hRfkTq1ykSIC&amp;amp;q=born+in+a+khatri+family&amp;amp;pg=PA71 |title=Sikh Women in England: Their Religious and Cultural Beliefs and Social Practices |publisher=Trentham Books |isbn=978-1-85856-353-4 |pages=71 |language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Post-Independence==&lt;br /&gt;
Harish Damodaran says the rise of Khatri industrialists in post-1947 India was a consequence initially of the cataclysmic [[Partition of India|Partition]], which pushed them in droves towards Delhi and its neighbourhoods. This exodus opened new opportunities for them. A combination of enterprise, articulation, and strategic closeness to the national capital— which, in itself, was becoming a major growth hub - created conditions for Khatri capital to flourish in the post-Partition period.&amp;lt;ref&amp;gt;{{Cite book|last=Damodaran|first=Harish|url=https://books.google.com/books?id=92F7DwAAQBAJ&amp;amp;q=cataclysmic|title=INDIA&#039;S NEW CAPITALISTS: Caste, Business, and Industry in a Modern Nation|publisher=Hachette India |isbn=978-93-5195-280-0|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Damodaran adds that the land Khatris originally belonged to had very little industry and rail infrastructure until the 20th century and hence were not comparable to merchant groups like [[Bania (caste)|Banias]] in terms of scale and spread of operation. Before independence they were only regional players and their rise in phenomenal proportions was a post-independence feature. Since then, they have produced leading entities in fields of pharmaceuticals, two-wheelers, tractors, paper, tyre-making and hotels with the groups of [[Ranbaxy Laboratories|Ranbaxy]], [[Hero MotoCorp|Hero]], [[Mahindra &amp;amp; Mahindra|Mahindra]], [[Ballarpur Industries]], [[Apollo Tyres]] and [[The Oberoi Group|Oberoi]] respectively.&amp;lt;ref name=&amp;quot;:32&amp;quot;&amp;gt;{{Cite book |last=Damodaran |first=Harish|url=https://books.google.com/books?id=92F7DwAAQBAJ&amp;amp;q=khatris+little+rail+infrastructure|title=INDIA&#039;S NEW CAPITALISTS: Caste, Business, and Industry in a Modern Nation|publisher=Hachette India|isbn=978-93-5195-280-0|language=en}}&amp;lt;/ref&amp;gt; They have also co-founded companies like [[Snapdeal]], [[Hotmail]], [[Yes Bank|YesBank]], [[India Today|IndiaToday]], [[Aaj Tak|AajTak]], [[IndiGo|IndiGo Airlines]], [[Sun Microsystems]], [[Max Group]] etc.&amp;lt;ref&amp;gt;{{Cite book|last=Damodaran|first=Harish|url=https://books.google.com/books?id=92F7DwAAQBAJ&amp;amp;q=12+oberoi|title=INDIA&#039;S NEW CAPITALISTS: Caste, Business, and Industry in a Modern Nation|publisher=Hachette India|isbn=978-93-5195-280-0|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:32&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Punjabi Khatris and others, together with the traditionally &amp;quot;urban and professional&amp;quot; castes, formed a part of the elite middle class immediately after independence in 1947. According to P. K. Verma, &amp;quot;Education was a common thread that bound together this pan Indian elite&amp;quot; and almost all the members of these [[Upper Castes|upper castes]] communities could read and write English and were educated beyond school.&amp;lt;ref&amp;gt;{{cite book |author=Pavan K. Varma |url=https://books.google.com/books?id=pbgMy8KfD74C&amp;amp;pg=PA28|title=The Great Indian Middle class|publisher=Penguin Books |year=2007 |isbn=9780143103257 |page=28 |quote=...its main adherents came from those in government service, qualified professionals such as doctors, engineers, and lawyers, business entrepreneurs, teachers in schools in the bigger cities and in the institutes of higher education, journalists[etc]...The upper castes dominated the Indian middle class. Prominent among its members were Punjabi Khatris, Kashmiri Pandits, and South Indian brahmins. Then there were the &#039;traditional urban-oriented professional castes such as the Nagars of Gujarat, the Chitpawans and the Ckps (Chandrasenya Kayastha Prabhus)s of Maharashtra and the Kayasthas of North India. Also included were the old elite groups that emerged during the colonial rule: the Probasi and the Bhadralok Bengalis, the Parsis, and the upper crusts of the Muslim and Christian communities. Education was a common thread that bound together with this pan Indian elite...But almost all its members spoke and wrote English and had had some education beyond school}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{cite book |author=D.L. Sheth |url=https://books.google.com/books?id=eNtCDwAAQBAJ&amp;amp;pg=PA180 |title=At Home with Democracy: A Theory of Indian Politics |publisher=Palgrave Macmillan |year=2018 |isbn=9789811064128 |editor=Peter Ronald deSouza |quote=The old neocolonial upper-caste elite, with a long tradition of education in the language of the ruling elite, with a long tradition of education in the language of the ruling elite of the time -Sanskrit of Persian in the past or english today - still constitutes its core. However, the ranks of the &#039;national&#039; elite have now expanded to include several new groups of castes, by and large of the dwija varna, which have acquired access to English education in the post Independence period[...]Sociologically viewed, the ranks of the pan-Indian elite are drawn from several groups ousted from the regions, such as Punjabi Hindus, Kashmiri Pundits and South-Indian Brahmins. Then there are the traditional urban-oriented professional castes such as the Nagars of Gujarat, the Chitpawans and the CKPs(Chandrasenya Kayastha Prabhus) of Maharashtra and the Kayasthas of North India whose members have joined the ranks, albeit more through responding to the pull factor than being subject to the push factor.Also included amound them are the old elite groups which emerged during the colonial rule: The Probasi and the Bhadralok Bengalis, the Parsis, and the upper crusts of the Muslim and Christian communities with a pronounced secular and nationalist persuation.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Delhi NCR ===&lt;br /&gt;
[[Delhi]]&#039;s population increased by 1.1 million in the period 1941–1951. This growth of 106% largely resulted from the influx of [[Partition of India|Partition]] migrants among other reasons. These were members of the Hindu and Sikh Khatri/Arora castes of the [[West Punjab]]. Many moved to the city for better economic opportunities.&amp;lt;ref name=&amp;quot;:1122&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Haryana ===&lt;br /&gt;
During 1947, Punjabis who migrated to Haryana during Partition were mostly Khatris or Aroras. As per a survey conducted by [[Maharshi Dayanand University|Maharishi Dayanand University]], the migrant population were forced to live in camps under open sky. Only a meager 5% received &amp;quot;grossly undervalued claims against their properties in shape of very poorly cultivable land, while remaining 95% though entitled for compensation could not get any thing to sustain&amp;quot;. This migrant population is also referred to as ‘refugee’ and ‘sharnarthi’ (शरणार्थी) in a derogatory manner by some locals. A Punjabi organisation had approached the Haryana government with a demand to ban both words and to enact a law on the lines of the [[Scheduled Caste and Scheduled Tribe (Prevention of Atrocities) Act, 1989|SC/ST Act]] with similar penalties. The community has a high literacy rate and are not dependent on money-lending and shopkeeping. They are engaged as doctors, engineers, administrators etc.&amp;lt;ref name=&amp;quot;:162&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|author=Manvir Saini|title=Ban the word &#039;refugee&#039; in Haryana: Punjabis urge Manohar Lal Khattar {{!}} Gurgaon News |url=https://timesofindia.indiatimes.com/city/gurgaon/ban-the-word-refugee-in-haryana-punjabis-urge-manohar-lal-khattar/articleshow/65945554.cms|access-date=17 September 2021|website=The Times of India|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Kashmir and Himachal Pradesh ===&lt;br /&gt;
Khatris of [[Kashmir]], also known as &amp;quot;Bohras&amp;quot; were traders and had the second largest Hindu population after the [[Kashmiri Pandits|Pandits]].&amp;lt;ref&amp;gt;{{Cite book|last=Lawrence|first=Sir Walter Roper|url=https://rarebooksocietyofindia.org/book_archive/196174216674_10153460989311675.pdf|title=The Valley of Kashmir|year=1895|pages=296–302}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|last=Sheikh|first=Tariq|title=Cradle of Castes in Kashmir (From Medieval Period to Present Day)|url=https://www.researchgate.net/publication/330313369|url-status=live|access-date=24 August 2021|website=ResearchGate|language=en}}&amp;lt;/ref&amp;gt; Many of these Khatris had to face the brunt of [[Exodus of Kashmiri Hindus|1990 Kashmiri Hindu Exodus]].&amp;lt;ref&amp;gt;{{Cite book |last1=Gigoo |first1=Siddhartha |url=https://books.google.com/books?id=InAwDQAAQBAJ&amp;amp;q=four+thousand+and+two+hundred+families+of+kashmiri+migrants+have+been+living+there&amp;amp;pg=PT145 |title=A Long Dream of Home: The persecution, exile and exodus of Kashmiri Pandits|last2=Sharma|first2=Varad|publisher=Bloomsbury Publishing |isbn=978-93-86250-25-4|language=en}}&amp;lt;/ref&amp;gt; Khatris of Himachal Pradesh are numerically most important commercial classes are mostly concentrated in [[Mandi district|Mandi]], [[Kangra district|Kangra]] and [[Chamba district|Chamba]].&amp;lt;ref name=&amp;quot;:1322&amp;quot;&amp;gt;{{Cite book |last=Minhas |first=Poonam |url=https://books.google.com/books?id=_52-WyPfLG0C&amp;amp;dq=most+gaddis+are+khatri&amp;amp;pg=PA64|title=Traditional Trade &amp;amp; Trading Centres in Himachal Pradesh: With Trade-routes and Trading Communities|publisher=Indus Publishing|isbn=978-81-7387-080-4|pages=64|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Maharashtra===&lt;br /&gt;
Anthropologist Karve, based on the post-Independence research of castes by a in [[Konkan]], [[Maharashtra]], classified [[Marathi people|Marathi]] Khatris{{efn|Khatris claimed to live near the Bombay island from at least the mid-1800s and would speak Marathi.}} as one of the &amp;quot;professional/advanced castes&amp;quot; as they were doctors, engineers, clerks, lawyers, teachers, etc. during independence. She states that their traditional professions were [[Weaving|silk weaving]] and working as merchants although they had entered other professions later.&amp;lt;ref name=&amp;quot;Bowles19772&amp;quot;&amp;gt;{{cite book|author=Gordon Townsend Bowles|url=https://books.google.com/books?id=gaq0AAAAIAAJ|title=The People of Asia |publisher=Scribner |year=1977 |isbn=978-0-684-15625-5 |page=173|quote=Following Karve&#039;s classification in the Konkan, the Kayastha Prabhu, Pathare Prabhu, Pathare Kshatriya, Khatri and Vaisya Vani may be listed with the Brahmins as professional groups. The intermediate or artisan and service castes include the Sonar (goldsmiths), Kasar (coppersmiths), Shimpi (tailors), Teli (oil pressers), Khosti (weavers), Bhajvsar (dyers), Nhavi (barbers), Parit (washermen) ...}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Dandekar19512&amp;quot;&amp;gt;{{cite book|author1=Irawati Karve|url=https://books.google.com/books?id=uLc0AAAAIAAJ|title=Anthropometric Measurements of Mahārāṣhṭra|author2=Vishnu Mahadeo Dandekar|publisher=Deccan College Postgraduate and Research Institute, Pune|year=1951|quote=(Pg 16)Group I. Castes which follow various professions like teachers, doctors, clerks, pleaders, engineers etc:-All Brahmins,Non Brahmins: Kayastha Prabhu,Pathare Prabhu, Pathare Kshatriya, Khatri, Vaishya Vani (pg 29) Castes called Khatris are found in Gujarat Karnataka and Maharashtra. This sample represents the Marathi speaking khatris who claim to have living near the Bombay island for the last century at least. Khatris are found in other towns in the west maratha countries their hereditary profession is said to be that of silk weavers and merchants. Now they have entered into all services like clerks, teachers and higher administrative jobs and also follow professions like law and medicine.....}}&amp;lt;/ref&amp;gt; Khatris in modern Maharashtra are divided into endogamous subgroups, such as the Brahmo Khatris and Kapur Khatris.&amp;lt;ref name=&amp;quot;SinghIndia199817282&amp;quot;&amp;gt;{{cite book|author1=K. S. Singh|url=https://books.google.com/books?id=1lZuAAAAMAAJ|title=India&#039;s Communities |author2=Anthropological Survey of India|publisher=Oxford University Press|year=1998|isbn=978-0-19-563354-2|page=1728|quote=In Maharashtra, the Khatri have different subgroups, such as Brahmo Khatri, Gujarathi Khatri, Kapur Khatri, Sahashtrarjun Khatri, Surthi Khatri, Somvanshiya Khatri, and Maratha Khatri which are territorial and endogamous. They are weavers by profession.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Varna status ==&lt;br /&gt;
Khatris claim that they are [[Kshatriya|Kshatriyas]]. While some historians agree with the claim of Khatris to be of [[Kshatriya]] varna,&amp;lt;ref&amp;gt;{{Cite book |last=Westerlund |first=David |url=https://books.google.com/books?id=hg2ZyH7nr9cC&amp;amp;dq=questioning+the+secular+state+punjabi+khatris+kshatriyas&amp;amp;pg=PA261 |title=Questioning the Secular State: The Worldwide Resurgence of Religion in Politics|publisher=C. Hurst &amp;amp; Co. Publishers|isbn=978-1-85065-241-0|pages=261|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Lorenzen|first=David N.|url=https://books.google.com/books?id=oa0qAQAAMAAJ&amp;amp;q=caste+system+khatris|title=Religious Movements in South Asia 600-1800|publisher=Oxford University Press|isbn=978-0-19-567876-5|pages=321|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:1&amp;quot;&amp;gt;{{Cite book |last=Mooney |first=Nicola |url=https://books.google.com/books?id=3Hu4X3AOhS8C&amp;amp;q=khatris |title=Rural Nostalgias and Transnational Dreams: Identity and Modernity Among Jat Sikhs|publisher=University of Toronto Press|isbn=978-1-4426-6268-1|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last1=Clarke |first1=Peter B. |url=https://books.google.com/books?id=k8mLAgAAQBAJ&amp;amp;dq=khatri+caste+warrior&amp;amp;pg=PT981|title=The World&#039;s Religions: Continuities and Transformations|last2=Beyer|first2=Peter|publisher=Routledge|isbn=978-1-135-21099-1|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last1=Melton |first1=J. Gordon|url=https://books.google.com/books?id=v2yiyLLOj88C&amp;amp;dq=born+in+a+khatri+family+nanak&amp;amp;pg=PA2013|title=Religions of the World: A Comprehensive Encyclopedia of Beliefs and Practices, 2nd Edition [6 volumes]|last2=Baumann|first2=Martin|publisher=ABC-CLIO |isbn=978-1-59884-204-3|pages=2013|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|author=Kamala Elizabeth Nayar|url=https://books.google.com/books?id=_oPeWqdoqJQC&amp;amp;q=born+in+a+khatri+family&amp;amp;pg=PA214|title=Religious Understandings of a Good Death in Hospice Palliative Care|last2=Harold Coward|publisher=SUNY Press|isbn=978-1-4384-4275-4|editor-last=Kelli I. Stajduhar|pages=214|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last1=Rai |first1=Rajesh |url=https://books.google.com/books?id=YzkrDwAAQBAJ&amp;amp;dq=khatris+warrior&amp;amp;pg=PA104|title=Religion and Identity in the South Asian Diaspora |last2=Sankaran |first2=Chitra|publisher=Routledge|isbn=978-1-351-55159-5|pages=104|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Renard |first=John |url=https://books.google.com/books?id=fCjVRqPD-HQC&amp;amp;dq=ravi+das+khatri&amp;amp;pg=PA18|title=Fighting Words: Religion, Violence, and the Interpretation of Sacred Texts|publisher=University of California Press|isbn=978-0-520-95408-3|pages=18|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Singh |first=Nikky-Guninder Kaur|url=https://books.google.com/books?id=k0s2dUUMHbkC&amp;amp;dq=khatri&amp;amp;pg=PA22|title=Sikhism|publisher=Infobase Publishing |isbn=978-1-4381-1779-9|pages=22|language=en}}&amp;lt;/ref&amp;gt; many others don&#039;t.&amp;lt;ref name=&amp;quot;Lorenzen199522&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;auto1&amp;quot;&amp;gt;{{cite book |author=Anand A. Yang |url=https://books.google.com/books?id=Ck4jmD7H34UC&amp;amp;pg=PA47 |title=The Limited Raj: Agrarian Relations in Colonial India, Saran District, 1793-1920 |publisher=University of California Press |year=1989 |isbn=0520057112 |access-date=22 September 2020}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Copeman20092&amp;quot;&amp;gt;{{cite book |author=Jacob Copeman |url=https://books.google.com/books?id=EbSXa5Fag9gC&amp;amp;pg=PA203 |title=Veins of Devotion: Blood Donation and Religious Experience in North India |publisher=Rutgers University Press |year=2009 |isbn=978-0-8135-4449-6 |pages=203 |quote=Agarwal, khatri, and bania usually denote people of merchant-trader background of middling clean-caste status, often of vaishya varna}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:04&amp;quot;&amp;gt;{{cite book|author=Susan Bayly|url=https://books.google.com/books?id=HbAjKR_iHogC&amp;amp;pg=PA329|title=Caste, Society and Politics in India from the Eighteenth Century to the Modern Age|publisher=Cambridge University Press|year=2001|isbn=9780521798426|pages=328–329|quote=Examples of continuing fascination with the Kshatriya ideal abound, as can be seen in the many post-Independence publications which exalt the doings of individual named jatis. The production of these ‘community’ histories has been as active an industry in the late twentieth century as it was in the pre-Independence period. As recently as 1988, a polemicist representing himself as an Oxford-trained Indian ‘socio-historian’ published an account of the supposed origins and heritage of north India&#039;s Khatris. Today, as in the past, those who call themselves Khatri favour the livelihoods of the pen and the ledger. In the colonial period, however, Khatri caste associations extolled the heritage of their ‘community’ as one of prowess and noble service (seva), claiming that their dharmic essence was that of the arms-bearing Kshatriya and therefore quite unlike that of the commercial Agarwals and other pacific Vaishyas. These same themes were recapitulated by the author of the 1988 text: the Khatris, ‘one of the most acute, energetic, and remarkable race [sic] in India’, are heirs to a glorious martial past, ‘pure descendants of the old Vedic Kshatriyas’. The writer even tries to exalt Khatris above Rajputs, whose blood he considers ‘impure’, being supposedly mixed with that of ‘inferior’ Kols or ‘aborigines’: in his view only Khatris are ‘true representatives of the Aryan nobility’.&amp;lt;39&amp;gt;Footnote: 39 Puri 1988: 3, 78, 163, 166. The writer appeals to the Khatri ‘race’ to ‘wake up’ and cherish their heritage as ‘followers of the Hindu Dharma Sastras’ (5). Above all they should guard against ‘hybridising’, i.e. marrying non-Khatris (166). These views closely resemble those of pre-Independence race theorists (see Chapters 3-4). Compare Seth 1904}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;JonesJones19762&amp;quot;&amp;gt;{{cite book|author1=Kenneth W. Jones |url=https://books.google.com/books?id=RpvXCtNzrz8C&amp;amp;pg=PA4|title=Arya Dharm: Hindu Consciousness in 19th-century Punjab|author2=Kenneth W.Jones |publisher=University of California Press|year=1976|isbn=978-0-520-02920-0|pages=4–5|quote=Among Punjabi Hindus the Vaishyas would lead; among Vaishyas, the Khatri and his associates, the Saraswat Brahmins. The Khatris claimed with some justice and increasing insistence, the status of Rajputs, or Kshatriyas, a claim not granted by British but illustrative of their ambiguous position on the great varna scale of class divisions and their importance within the Hindu community. Processed of questionable and flexible status in the traditional hierarchy, literate, urban and often wealthy, in search of recognition for their achievements and pretentions, the Khatris acted as traditional innovators, leaders into new worlds}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;McLane2002222&amp;quot;&amp;gt;{{cite book|last=McLane|first=John R.|title=Land and Local Kingship in Eighteenth-Century Bengal|publisher=Cambridge University Press |year=2002 |isbn=978-0-521-52654-8|page=131|quote=The Khatris were a Punjabi mercantile caste who claimed to be Kshatriyas. Nineteenth-century Indians and British administrators failed to agree whether that claim should be accepted. The fact that overwhelming majority were engaged in Vaishya (mercantile), not Kshatriya (military), pursuits was balanced against the Khatri origin myths...By the eighteenth century, and probably long before, they were a dominant group in the trade of the Punjab and Afganistan, and they had penetrated into Turkistan and also east and south into many parts of India. ...This raises the possibility that Khatris were resident in Bengal in pre-Mughal times.}}&amp;lt;/ref&amp;gt; According to some historians, even though they participated in mercantile or other occupationally diverse professions such as Agriculture, they were originally Kshatriyas.&amp;lt;ref name=&amp;quot;:032&amp;quot; /&amp;gt;&amp;lt;ref&amp;gt;{{Cite book|last=Farhadian|first=Charles E.|url=https://books.google.com/books?id=5VV-BAAAQBAJ&amp;amp;q=khatri+sanskrit+punjabi&amp;amp;pg=PT293|title=Introducing World Religions: A Christian Engagement|publisher=Baker Academic|isbn=978-1-4412-4650-9|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Jeffrey |first=Robin|url=https://books.google.com/books?id=qQO_DAAAQBAJ&amp;amp;dq=khatris+warrior&amp;amp;pg=PA52|title=What&#039;s Happening to India?: Punjab, Ethnic Conflict, and the Test for Federalism|publisher=Springer|isbn=978-1-349-23410-3|pages=52|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last1=Pechilis |first1=Karen|url=https://books.google.com/books?id=kaubzRxh-U0C&amp;amp;dq=khatris+warrior&amp;amp;pg=PA239|title=South Asian Religions: Tradition and Today |last2=Singh |first2=Pashaura|last3=Raj|first3=Selva J.|publisher=Routledge|isbn=978-0-415-44851-2|pages=239|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;Oldenburg 2002 41, 15422&amp;quot; /&amp;gt; In Indian historian [[Satish Chandra (historian)|Satish Chandra]]&#039;s opinion, certain castes like Khatris and Kayasthas &amp;quot;do not quite fit&amp;quot; in the Hindu Varna system. According to him, Khatris are neither Vaishyas nor Kshatriyas but are &amp;quot;par excellence traders&amp;quot;.&amp;lt;ref name=&amp;quot;Chandra20082&amp;quot;&amp;gt;{{cite book |author=Satish Chandra|url=https://books.google.com/books?id=i6xVm9lkknUC|title=Social Change and Development in Medieval Indian History|publisher=Har-Anand Publications|year=2008|isbn=978-81-241-1386-8|pages=43|quote=In fact, there are some castes which do not quite fit into any of the four varnas. I do not know enough about the situation in south India. But in Northern India, castes such as Khatris and Kayasths are difficult to fit into the varna system. The Khatris are par excellence traders, but they are not classified amongst vaishyas. Nor are they part of the Kshatriyas.}}&amp;lt;/ref&amp;gt; Some scholars consider castes in north India, like Khatri and [[Kayastha]] to be merchant castes who claim higher status to befit the educational and economic progress they made in the past.&amp;lt;ref name=&amp;quot;Lorenzen1995&amp;quot;&amp;gt;{{cite book |author=Mark Juergensmayer |title=Bhakti Religion in North India: Community Identity and Political Action |publisher=SUNY Press |isbn=978-0-7914-2025-6 |editor=David N. Lorenzen |page=86 |chapter=The social significance of Radhasoami |quote=In the past members of such castes such as Khatris served as shopkeepers, moneylenders, traders and teachers. Their reputation for mastering knowledge sometimes extended to the spiritual realm:Guru Nanak and the other nine founding gurus of the sikh tradition were Khatris, member of the Bedi subcaste. |chapter-url=https://books.google.com/books?id=rpSxJg_ehnIC&amp;amp;pg=PA86}}&amp;lt;/ref&amp;gt;The [[Saraswat Brahmin]]s are the [[purohit]]s of Khatris and accept gifts only from them.&amp;lt;ref&amp;gt;{{Cite book|last=Nalwa|first=Vanit|url=https://books.google.com/books?id=ULhgNexD92QC&amp;amp;q=khatris+sarsut|title=Hari Singh Nalwa, &amp;quot;champion of the Khalsaji&amp;quot; (1791-1837)|publisher=Manohar, New Delhi |isbn=978-81-7304-785-5|pages=97|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to [[Anand Yang]], the Khatris in the [[Saran district|Saran]] district of [[Bihar]], were included in the list of &amp;quot;Bania&amp;quot; along with Agarwals and Rastogis of the [[Vaishya]] Varna.&amp;lt;ref name=&amp;quot;auto1&amp;quot; /&amp;gt; Jacob Copeman also agrees and writes &amp;quot;[[Agarwal]], Khatri, and Bania usually denote people of merchant-trader background of middling clean-caste status, often of Vaishya varna&amp;quot;.&amp;lt;ref name=&amp;quot;Copeman20092&amp;quot; /&amp;gt; Mark Juergensmyer suggests that many Khatris claim their caste is the warrior caste, as the name and etymology itself suggest but that some scholars dispute these claims and regard Khatris as merchant castes who claim higher status as befit of their economic success and educational achievements. &amp;lt;ref name=&amp;quot;Lorenzen199522&amp;quot; /&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Susan Bayly]] states that the Khatris had scribal traditions and despite that Khatri caste organisations in the British Raj era tried to portray their caste as Kshatriyas. Similar caste glorifying ideas were written by the historian [[Baij Nath Puri|Puri]] who describes Khatris as &amp;quot;one of the most acute, energetic, and remarkable race [sic] in India&amp;quot;, &amp;quot;pure descendants of the old Vedic Kshatriyas&amp;quot; and &amp;quot;true representatives of the Aryan nobility&amp;quot;. Puri also tried to show the Khatris as higher than the Rajputs whose blood he considered &amp;quot;impure&amp;quot;, mixed with ‘inferior’ Kolis or ‘aborigines’.&amp;lt;ref name=&amp;quot;:04&amp;quot; /&amp;gt; She considers his views to represent those of &amp;quot;pre-Independence race theorists&amp;quot;. Bayly further describes the Khatris as a &amp;quot;caste title of north Indians with military and scribal traditions&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book|last=Bayly|first=Susan|url=https://books.google.com/books?id=HbAjKR_iHogC&amp;amp;dq=khatri+military+scribal+bayly&amp;amp;pg=PA385 |title=Caste, Society and Politics in India from the Eighteenth Century to the Modern Age|publisher=Cambridge University Press|isbn=978-0-521-79842-6|pages=385|language=en}}&amp;lt;/ref&amp;gt; Hardip Singh Syan says Khatris considered themselves to be of pure [[Vedic]] descent and thus superior to the Rajputs, who like them claim the Kshatriya status of the Hindu [[Varna (Hinduism)|varna system]].&amp;lt;ref name=&amp;quot;syan22&amp;quot;/&amp;gt; [[Mysore Narasimhachar Srinivas|M. N. Srinivas]] states that Khatri made different Varna claims at different times in the [[Census of India prior to independence|Census of India]] before Independence. In 1911, they did not make any Varna claim, while in 1921 and 1931 they claimed a Kshatriya and Vaishya status respectively.&amp;lt;ref&amp;gt;{{cite book|author=Mysore Narasimhachar Srinivas|url=https://books.google.com/books?id=MBOb5X_VrDMC&amp;amp;pg=PA97 |title=Social Change in Modern India|publisher=University of California Press-Berkeley and Los Angeles|year=1967|page=97}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Punjab ===&lt;br /&gt;
Historian Kenneth W. Jones states that the Khatris of Punjab had some justification in claiming Kshatriya status from the British government. However, the fact that this claim was not granted at the time showing their ambiguous position in the varna system. Although Jones also classifies Khatris as one of the Vaishya caste of Punjabi Hindus, he shows that their social status was higher than the Arora, Suds and Baniyas in the 19th century Punjab. He quotes Ibbetson who states that the Punjabi Khatris who held prominent military and civil posts were traditionally different from the Aroras, Suds or Baniyas who were rural, of low status and mostly commercial. Punjabi Khatris, on the other hand, were urban, usually prosperous and literate. Thus, the Khatris led the vaishyas in seeking a higher social position in the flexible Varna hierarchy based on their superior achievements. Similar social mobility efforts were followed by other Hindus in Punjab&amp;lt;ref name=&amp;quot;JonesJones19762&amp;quot; /&amp;gt; McLane also describes them as a &amp;quot;mercantile caste who claimed to be Kshatriyas&amp;quot;. In the 19th-century, British failed to agree whether their claim of Kshatriya status should be accepted. [[John Nesfield|Nesfield]] and [[George Campbell (civil servant)|Campbell]] were leaning towards accepting this claim but [[Herbert Hope Risley|Risley]] and [[Denzil Ibbetson|Ibbetson]] cast doubts on it. McLane opines that the confusion was caused since Khatris pursued mercantile occupations and not military ones. However, he adds that this Vaishya occupation fact was balanced by their origin myths, the &amp;quot;possible&amp;quot; derivation of the word Khatri from &#039;&#039;Kshatriya,&#039;&#039; their large physical stature, the superior status accorded to them by other [[Punjabis]] as well as the willingness of the [[Saraswat Brahmin]]s, their [[Purohit|chaplains]], to accept cooked food from them.&amp;lt;ref name=&amp;quot;McLane2002222&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the case of [[Sikhs|Sikh]] Khatris, their Kshatriya claim reflects a contradictory attitude towards the traditional Hindu caste system. It is evident in &#039;&#039;[[Guru Granth Sahib]]&#039;&#039;, which on the one hand rises above the Hindu caste paradigm and on the other hand seeks to portray the Khatri gurus as a group of warrior-defenders of their faith, just as with the Kshatriya varna.&amp;lt;ref name=&amp;quot;dhavan2&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Majority of the male members of the [[Arya Samaj]] in the late 19th century Punjab came from the [[Arora]] and Khatri merchant castes. In Punjab, the Kshatriya castes who were ritually higher than the Aroras and Khatris had been disempowered and thus the Brahmins who had lost their patrons had to turn to these non-Kshatriya castes. [[Christophe Jaffrelot]] explains the attraction of these trading castes to the Arya Samaj as a means of social mobility associated with their prosperity during the British rule. He cites N. G. Barrier to show that the philosophy of the Arya Samaj founder, [[Dayananda Saraswati]], was responsible for the aspirations of these [[Vaishya]] castes from Punjab to higher status:&amp;lt;ref name=&amp;quot;Jaffrelot2010&amp;quot;&amp;gt;{{cite book |author=Christophe Jaffrelot |title=Religion, Caste, and Politics in India |publisher=Primus Books |pages=98– |isbn=9789380607047 |url=https://books.google.com/books?id=XAO3i_gS61wC&amp;amp;pg=PA98 |quote=In 1891, more than half the 9,105 male members of the movement belonged to the Khatri and Arora merchant castes. This sociological composition reflected the same socio-cultural logic as in Gujarat where Dayananda had set up the Arya samaj with the support of traders seeking a better status more in keeping with their new prosperity (Jordens 1978) linked with the economic advance of British India; in the Punjab, his movement developed along the same lines among the merchant castes which felt that they could aspire all the more legitimately to the leadership of their community as the Brahmins and Kshatriyas, who had been hierarchically superior to them had been marginalized. Barrier hence explains the attraction that the Arya Samaj exercised over the merchant castes by the fact that: Dayananda&#039;s claim that caste should be determined primarily by merit not birth, opened new paths of social mobility to educated Vaishyas who were trying to achieve social status commensurate with their improving economic status.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{blockquote| Dayananda&#039;s claim that caste should be determined primarily by merit not birth, opened new paths of social mobility to educated [[Vaishyas]] who were trying to achieve social status commensurate with their improving economic status&amp;lt;ref name=&amp;quot;Jaffrelot2010&amp;quot;/&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
=== Rajasthan, Gujarat and Maharashtra ===&lt;br /&gt;
[[Dasharatha Sharma]] described Khatris of [[Rajasthan]] as a mixed &#039;&#039;pratiloma&#039;&#039; caste of low ritual status but they could be a mixed caste born of Kshatriya fathers and Brahmin mothers.&amp;lt;ref&amp;gt;{{cite book|last=Sharma|first=Dasharatha|title=Early Chauhān dynasties: a study of Chauhān political history, Chauhān political institutions, and life in the Chauhān dominions, from 800 to 1316 A.D.|publisher=Motilal Banarsidass|year=1975|page=279|author-link=Dasharatha Sharma}}&amp;lt;/ref&amp;gt; [[Banking]], [[Trade|trading]], agriculture and service are traditional occupations of the Khatris in Rajasthan. The [[Literacy|literacy rate]] is appreciably high among them.&amp;lt;ref&amp;gt;{{Cite book|last=Singh|first=K.S|title=India&#039;s Communities A-G|publisher=OUP India |year=1998 |isbn=978-0195633542 |pages=1728}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Ashok Malik]], former press secretary to the President of India, says that there were two groups of Khatris in Gujarat, that arrived right after the Mughal invasion and during the reign of [[Akbar]] respectively. The latter considered themselves superior to the former and they called themselves &amp;quot;Brahmakshatriyas&amp;quot; after arriving in Gujarat. When the older Khatri community of Gujarat started prospering, they also started calling themselves &amp;quot;Brahmakshatriya&amp;quot;, causing the new Khatri community to panic and adopt the name &amp;quot;Nayar Brahmakshatriyas&amp;quot; for themselves. In addition, another community - the Gujarati [[Teli]]s, considered an [[Other Backward Class|Other Backward Class (OBC)]] in India began to call themselves &#039;&#039;Khatris.&#039;&#039; Malik calls this as [[Sanskritization]].&amp;lt;ref&amp;gt;{{Cite journal|last=Malik|first=Ashok|title=Caste Census|url=https://www.jstor.org/stable/23006464|journal=India International Centre Quarterly|volume=37|issue=1|pages=142–147|issn=0376-9771|jstor=23006464}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Historian Vijaya Gupchup from the [[University of Mumbai]] states that in [[Maharashtra]], Brahmins showed resentment in the attempt by the [[Marathi people|Marathi]] Khatris or Koshti to elevate themselves from ritually low status to Kshatriya by taking advantage of the British neutrality towards castes. She quotes a translation from a [[Marathi language|Marathi]] publication that gave a Brahminic opinion of this attempt:&lt;br /&gt;
&lt;br /&gt;
{{blockquote|Everyone does what he wants, Sonars have become Brahmins, Treemungalacharya was insulted by throwing cowdung at him in Pune, but he has no shame and still calls himself a Brahmin. Similarly a Khatri or Koshti who are included in Panchal at places other than Bombay, call themselves Kshatriya in Bombay and say their needles are the arrows and their thimbles are the sheaths. How surprising that those Sonars and Khatris at the hands of whom even Shudras will not take water have become Brahmins and Kshatriyas. In short day by day higher castes are disappearing and lower castes are prospering.&amp;lt;ref name=&amp;quot;Gupchup1993&amp;quot;&amp;gt;{{cite book|author=Vijaya V. Gupchup|title=Bombay: Social Change, 1813-1857|url=https://books.google.com/books?id=BeXZAAAAMAAJ |year=1993 |publisher=Popular Book Depot|page=191|quote=The cynical remarks of the Brahmin point out that there was a general tendency of the castes to elevate themselves in the social strata, no doubt taking advantage of the British policy of neutrality towards castes. Thus he says: Everyone does what he wants, Sonars have become Brahmins, Treemungalacharya was insulted by throwing cowdung at him in Pune, but he has no shame and still calls himself a Brahmin. Similarly a (Marathi) Khatri or Koshti (weavers) who are included in Panchal at places other than Bombay, call themselves Kshatriya in Bombay and say their needles are the arrows and their thimbles are the sheaths. How surprising that those Sonars and Khatris at the hands of whom even Sudras will not take water have become Brahmins and Kshatriyas. He continues, in short day by day higher castes are disappearing and lower castes are prospering.}}&amp;lt;/ref&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==Religious groups==&lt;br /&gt;
===Hindu Khatris===&lt;br /&gt;
The vast majority of Khatris are Hindu.&amp;lt;ref name=&amp;quot;:1532&amp;quot;/&amp;gt; Many Hindu Khatris made their first newborn a Sikh. Daughters were married into both Hindu and Sikh families according to the Khatri sub-hierarchy rules.&amp;lt;ref&amp;gt;{{Cite book|last=Singh|first=Manpreet J.|url=https://books.google.com/books?id=3KL8DwAAQBAJ&amp;amp;q=many+hindu+families+made+their+firstborn+a+sikh+manpreet+j+singh&amp;amp;pg=PT39|title=The Sikh Next Door: An Identity in Transition |publisher=Bloomsbury Publishing|isbn=978-93-89165-58-6|language=en}}&amp;lt;/ref&amp;gt; Hindu-Sikh intermarriages among Khatris and [[Arora]]s were common in the cities of [[Peshawar]] and [[Rawalpindi]].&amp;lt;ref&amp;gt;{{Cite book|last=Mooney|first=Nicola|url=https://books.google.com/books?id=k1B2vdLBizIC&amp;amp;dq=khatris+aroras+peshawar+rawalpindi&amp;amp;pg=PA12|title=Rural Nostalgias and Transnational Dreams: Identity and Modernity Among Jat Sikhs|publisher=University of Toronto Press|isbn=978-0-8020-9257-1|pages=12|language=en}}&amp;lt;/ref&amp;gt; They worship [[Hinglaj Mata mandir|Hinglaj Mata]], [[Chandi|Chandi Mata]], [[Shiva]], [[Hanuman]] and [[Dashavatara|Vishnu&#039;s avatars]]. Worship of [[totem]]istic symbols such as snakes and trees used to be common among them. [[Meditation]] upon the flame while reciting [[Vindhyavasini|Vidhyavasini&#039;s]] hymns was a common practice and reverence was paid to the dead ancestors.&amp;lt;ref&amp;gt;{{Cite book|last1=Hertel|first1=Bradley R.|url=https://books.google.com/books?id=r-OYL6Khg0UC&amp;amp;dq=khatris+worship&amp;amp;pg=PA199|title=Living Banaras: Hindu Religion in Cultural Context|last2=Humes|first2=Cynthia Ann|publisher=SUNY Press|isbn=978-0-7914-1331-9|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;:9222&amp;quot;&amp;gt;{{Cite book|last=Puri|first=Baij Nath|url=https://books.google.com/books?id=tXX1MAAACAAJ|title=The Khatris, a Socio-cultural Study |publisher=M.N. Publishers and Distributors|pages=67–72, 149–150|language=en}}&amp;lt;/ref&amp;gt; They are both vegetarian and non-vegetarian depending on their affiliations with the sects of [[Vaishnavism]] and [[Shaktism]] respectively.&amp;lt;ref&amp;gt;{{Cite book|last1=Nayar|first1=V. G.|url=https://books.google.com/books?id=3sAn2eNvF7EC&amp;amp;dq=khatris+vegetarian&amp;amp;pg=PA124|title=Sociology of Religion in India|last2=Nayar|first2=M. G.|publisher=Cosmo Publications |isbn=978-81-7755-151-8|pages=124|language=en}}&amp;lt;/ref&amp;gt; Sects of [[Arya Samaj]], [[Nirankari]] and [[Radha Soami|Radhasoami]] are also followed.&amp;lt;ref name=&amp;quot;:9222&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Sikh Khatris===&lt;br /&gt;
All the ten Sikh Gurus were from various Khatri clans:&amp;lt;ref&amp;gt;{{cite book|last=Singha|first=H. S.|url=https://books.google.com/books?id=gqIbJz7vMn0C&amp;amp;pg=PA125 |title=The Encyclopedia of Sikhism|publisher=Hemkunt Press|year=2000|isbn=978-81-7010-301-1|page=125}}&amp;lt;/ref&amp;gt; The early followers of [[Guru Nanak]] were Khatris but later a large number of [[Jat]]s joined the faith.&amp;lt;ref&amp;gt;{{cite book|author=Richard M. Eaton|url=https://books.google.com/books?id=aIF6DwAAQBAJ&amp;amp;pg=PP168|title=India in the Persianate Age: 1000-1765 |publisher=Penguin |year=2019 |isbn=9780141966557 |pages=168–169 |quote=The Sikh community grew rapidly in the sixteenth century. Nanak&#039;s earliest followers had been fellow Khatris engaged in petty trade, shopkeeping, or lower level civil service in the Lodi or Mughal bureaucracies. But as the movement grew, it experienced a significant influx of Jat cultivators.}}&amp;lt;/ref&amp;gt; Khatris and Brahmins opposed &amp;quot;the demand that the Sikhs set aside the distinctive customs of their castes and families, including the older rituals.&amp;quot;&amp;lt;ref&amp;gt;{{cite book |last=Dhavan |first=Purnima |url=https://books.google.com/books?id=q0ZpAgAAQBAJ&amp;amp;pg=PA42|title=When Sparrows Became Hawks: The Making of the Sikh Warrior Tradition, 1699-1799|publisher=Oxford University Press|year=2011|isbn=978-0-19987-717-1|pages=42, 47, 184}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Bhapa]] (pronounced as Pahpa) is a term used in a derogatory sense to denote Sikhs who left [[Pothohar Plateau|Potohar Region]] of modern-day Pakistan during [[Partition of India|Partition]], specifically of Khatri and [[Arora]] caste. Bhapa translates to elder brother in the [[Pahari-Pothwari|Potohari]] dialect spoken around [[Rawalpindi District|Rawalpindi]] region. [[W. H. McLeod|McLeod]], referring to the Khatris and Aroras says &amp;quot;The term is typically used dismissively by [[Jat Sikh|Jats]] to express opprobrium towards Sikhs of these castes. Until recently it was never used in polite company or print, but today the word is used quite openly&amp;quot;&amp;lt;ref name=&amp;quot;:213&amp;quot;/&amp;gt;&amp;lt;ref&amp;gt;{{Cite news|last=Singh|first=Pukhraj|title=Bluestar Baby Boomers |work=Newslaundary |url=https://www.newslaundry.com/2014/05/31/bluestar-baby-boomers|access-date=25 August 2021}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite news |last=Kumar |first=Dharminder|title=The Sardar Joke Is On You|work=Mumbai Mirror|url=http://www.mumbaimirror.com/columns/columnists/by-invitation/The-Sardar-joke-is-on-you/articleshow/50422145.cms|access-date=25 August 2021}}&amp;lt;/ref&amp;gt; According to Birinder Pal Singh, [[Jat Sikh]]s consider only themselves as Sikhs and consider Khatris as &amp;quot;bhapas&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book|last=Singh|first=Birinder Pal|url=https://books.google.com/books?id=be1GDwAAQBAJ&amp;amp;q=khatris|title=Sikhs in the Deccan and North-East India|publisher=Taylor &amp;amp; Francis|isbn=978-1-351-20105-6|language=en}}&amp;lt;/ref&amp;gt; In Nicola Mooney&#039;s opinion, Jat Sikhs consider Arora Sikhs as &amp;quot;Hindu Punjabis&amp;quot; which reserves Sikhism for the Jats alone, denying even the fully [[Amrit Sanskar|baptised]] Arora as Sikhs.&amp;lt;ref name=&amp;quot;:1&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Muslim Khatris ===&lt;br /&gt;
According to Historian [[Baij Nath Puri|B. N. Puri]], [[Muslims|Muslim]] Khatris are commonly known as [[Khawaja Shaikh|Khojas]] in Punjab.&amp;lt;ref name=&amp;quot;:92&amp;quot;&amp;gt;{{Cite book|last=Puri|first=Baij Nath|url=https://books.google.com/books?id=tXX1MAAACAAJ|title=The Khatris, a Socio-cultural Study |publisher=M.N. Publishers and Distributors|pages=149–150|language=en}}&amp;lt;/ref&amp;gt; [[Khattak]] tribe of [[Pashtuns]] is credited with origin from the Khatris but was divided in belief to its descent according to the 1883 book &amp;quot;Glossary of the Tribes and Castes of the Punjab and North-West Frontier Province&amp;quot;.&amp;lt;ref&amp;gt;{{Cite book|last=Nalwa|first=Vanit|url=https://books.google.com/books?id=ULhgNexD92QC&amp;amp;dq=khattak+khatris&amp;amp;pg=PA360|title=Hari Singh Nalwa, &amp;quot;champion of the Khalsaji&amp;quot; (1791-1837)|publisher=Manohar, New Delhi|isbn=978-81-7304-785-5|pages=98|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Literature and in popular culture ==&lt;br /&gt;
Khatris are mentioned in a popular Punjabi literature &amp;quot;[[Heer Ranjha]]&amp;quot; written by [[Waris Shah]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Heer&#039;s beauty slays rich [[Khwaja|Khojas]] and Khatris in the [[bazaar]], like a murderous [[Qizilbash|Kizilbash]] trooper riding out of the royal camp armed with a sword&lt;br /&gt;
:— Waris Shah (Translated by Charles Frederick Usborne)&amp;lt;ref&amp;gt;{{Cite book|last=Shāh|first=Vāris̲|url=https://books.google.com/books?id=Exo2AAAAMAAJ&amp;amp;q=the+adventures+of+hir+and+ranjha+khatri|title=The Adventures of Hir &amp;amp; Ranjha|publisher=Lion Art Press|pages=41|language=en}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite book |last=Shah|first=Waris|url=http://crossasia-repository.ub.uni-heidelberg.de/246/1/hir.pdf|title=The Adventure of Hir and Ranjha |publisher=Rupa |year=2003 |isbn=978-8129103796|translator-last=Usborne|translator-first=Charles Frederick}}&amp;lt;/ref&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Related communities ==&lt;br /&gt;
=== Arora ===&lt;br /&gt;
The Arora is a community that Levi describes as a sub-caste of Khatris.&amp;lt;ref name=&amp;quot;:142&amp;quot;/&amp;gt; They originate in [[Punjab]] and [[Sindh]] region. The name is derived from their native place [[Aror]] and the community comprises both Hindus and Sikhs.&amp;lt;ref&amp;gt;{{Cite book |last=Hans |first=Patrick |url=https://books.google.com/books?id=0AyDDQAAQBAJ&amp;amp;q=Aror |title=The Oxford Dictionary of Family Names in Britain and Ireland |year=2016 |isbn=9780192527479 |page=78}}&amp;lt;/ref&amp;gt; As per [[W. H. McLeod]], a historian of Sikhism, &amp;quot;traditionally the Aroras, though a relatively high caste were inferior to the Khatris, but the difference has now progressively narrowed. Khatri-Arora marriages are not unknown nowadays.&amp;quot;&amp;lt;ref&amp;gt;{{Cite book |last=McLeod |first=W. H. |url=https://books.google.com/books?id=vgixwfeCyDAC&amp;amp;q=google+book+famous+punjabi+khatri |title=The A to Z of Sikhism |publisher=Scarecrow Press |isbn=978-0-8108-6344-6|page=21|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Lohana, Bhatia and Bhanushali ===&lt;br /&gt;
According to Claude Markovits, castes such as [[Bhatia caste|Bhatia]] and [[Lohana]] were close to the Khatris and intermarried with them.&amp;lt;ref&amp;gt;{{Cite book |last=Markovits|first=Claude|url=https://books.google.com/books?id=M2vu7Odjz6kC&amp;amp;q=claude+markovits+india+and+the+world+2000|title=The Global World of Indian Merchants, 1750–1947: Traders of Sind from Bukhara to Panama|publisher=Cambridge University Press |isbn=978-1-139-43127-9 |pages=47 |language=en}}&amp;lt;/ref&amp;gt; Jürgen Schaflechner mentions that many Khatris and [[Bhatia caste|Bhatias]] were absorbed into Lohanas when they arrived in Sindh during the 18th century from cities in Punjab such as [[Multan]].&amp;lt;ref name=&amp;quot;:102&amp;quot;&amp;gt;{{Cite book |last=Schaflechner |first=Jürgen |url=https://books.google.com/books?id=khBADwAAQBAJ&amp;amp;q=schaflechner+hinglaj+devi|title=Hinglaj Devi: Identity, Change, and Solidification at a Hindu Temple in Pakistan|publisher=Oxford University Press|isbn=978-0-19-085052-4|pages=73–74|language=en}}&amp;lt;/ref&amp;gt; He further adds that the genealogy of communities such as Khatri, Lohana and Arora is described in the composition of Hiṃgulā Purāṇ that brings them all into one mytho-historic narrative. He also notes that common mythologies found among Khatris and Lohanas. Some members, around 10-15% of the [[Lohana|Sindhi Lohanas]] began working for the local rulers and hence achieved a higher status than Khatris and Lohanas. These people came to known as &amp;quot;[[Amils]]&amp;quot; while the ones who continued with their merchant professions came to be known as &amp;quot;[[Bhaiband]]s&amp;quot;. The Amils then started to recruit members from the general Khatris and Lohanas.&amp;lt;ref name=&amp;quot;:102&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Upendra Thakur mentions that there is a strong connection between the Khatris, Aroras, Lohanas and the [[Bhanushali]]s who all recruit the Saraswat Brahmins as their priests.&amp;lt;ref&amp;gt;{{Cite book|last=Thakur|first=Upendra|url=https://books.google.com/books?id=wubpGAAACAAJ|title=Sindhi Culture |publisher=Sindhi Academy|isbn=978-81-87096-02-3|pages=61|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Gaddi ===&lt;br /&gt;
Gaddi is a [[nomad]]ic [[Sheepherding|shepherding]] [[tribe]] that resides in the mountainous terrains of the [[Himalayas]]. Gaddi is an amalgamation of various groups such as Khatris, Rajputs, Brahmins etc.&amp;lt;ref&amp;gt;{{Cite book|last=Sharma|first=Manorma|url=https://books.google.com/books?id=CDxa5G2S0AwC&amp;amp;q=gaddi+khatri&amp;amp;pg=PA10|title=Tribal Melodies of Himachal Pradesh: Gaddi folk music|publisher=APH Publishing |isbn=978-81-7024-912-2 |pages=9 |language=en}}&amp;lt;/ref&amp;gt; Most [[Gaddis]] of Himachal Pradesh call themselves Khatris.&amp;lt;ref name=&amp;quot;:1322&amp;quot;/&amp;gt; There is a popular saying among them &amp;quot;Ujreya Lahore te baseya Bharmaur&amp;quot; meaning that when [[Lahore]] was deserted (possibly by the Muslim invasion), [[Bharmour]] was inhabited. Some Khatris clans are known to have settled there during Aurangzeb&#039;s reign.&amp;lt;ref&amp;gt;{{Cite book|last=Hāṇḍā|first=Omacanda|url=https://books.google.com/books?id=2EaFNQ7Zfl8C&amp;amp;dq=Ujreya+Lahore+te+baseya+Bharmaur&amp;amp;pg=PA29 |title=Gaddi Land in Chamba: Its History, Art &amp;amp; Culture: New Light on the Early Wooden Temples |publisher=Indus Publishing|isbn=978-81-7387-174-0|pages=29|language=en}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[List of Khatris]]&lt;br /&gt;
* [[Roman Catholic Kshatriya]]s&lt;br /&gt;
* [[Caste system]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{notelist}}&lt;br /&gt;
{{reflist|2}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* {{Commons category inline}}&lt;br /&gt;
&lt;br /&gt;
{{Ethnic groups, tribes and clans of the Punjab}}{{Social groups of Rajasthan}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Punjabi tribes|*]]&lt;br /&gt;
[[Category:Indian castes]]&lt;br /&gt;
[[Category:Merchant castes]]&lt;br /&gt;
[[Category:Sikh communities]]&lt;br /&gt;
[[Category:Social groups of Punjab, India]]&lt;br /&gt;
[[Category:Social groups of Punjab, Pakistan]]&lt;br /&gt;
[[Category:Social groups of Rajasthan]]&lt;br /&gt;
[[Category:Sindhi tribes]]&lt;br /&gt;
[[Category:Social groups of Sindh]]&lt;/div&gt;</summary>
		<author><name>PhillisVennard3</name></author>
	</entry>
</feed>